Guest User

Untitled

a guest
Mar 21st, 2018
85
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.21 KB | None | 0 0
  1. <?php
  2.  
  3. $qb = $this->Person->find()->select(["id", "text" => "concat(Name,' ',Family)"])
  4. ->where(['id >' => 0])
  5. ->where($query ? ["OR" => $filters] : null)
  6. ->limit(10);
  7. dd($qb->sql());
Add Comment
Please, Sign In to add comment