Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- db linkam bottomWidth:
- a:3:{i:0;i:60;i:1;i:73;i:2;i:45;}
- public function findCompatibleLinks($l, $d)
- {
- $query = $this->createQueryBuilder('l')
- ->select('l')
- ->where('l.isDeleted = false')
- ->andWhere('l.isPublished = true')
- ->andWhere('l.bottomWidth LIKE :width')
- ->andWhere('l.bottomDia LIKE :dia')
- ->setParameter('width', '%'.$l.'%')
- ->setParameter('dia', '%'.$d.'%')
- ->getQuery();
- return $query->getResult();
- }
- vajag nevis kur bottomWidth ir tikai ==$l, bet =>$l un <$l+5
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement