Hello everybody,

how could I put a native mysql-statement in where clause using the query
builder.

example:

$ sql = $ qb-> select ($ CCOD. "the cod ', $ CDES.' the DSC ')
-> from ($ table, '')
 -> where ($ qb-> expr () -> like ($ cbus, $ qb-> expr () -..> literal ('%'
$ termoBusca '%')))
* -> 'my native string'*
 -> setMaxResults ($ limit);

-- 
You received this message because you are subscribed to the Google Groups 
"doctrine-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/doctrine-user.
For more options, visit https://groups.google.com/d/optout.

Reply via email to