how do you declare the field in the doctrine entity? On Fri, Oct 18, 2019 at 8:06 PM Nima Sadjadi <[email protected]> wrote:
> I have field with name "code", type is int(11) and NOT nullable. > > In WHERE clause of a dql I use it to query like "WHERE u.code = :n", > But whatever value I pass to setParameter(), it finds a record that its > code value is 0. Why this record should be find with whatever value I pass > to query? > > -- > 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 view this discussion on the web visit > https://groups.google.com/d/msgid/doctrine-user/f769cac0-dc1c-4e64-98dc-1e3c5f234973%40googlegroups.com > . > -- 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 view this discussion on the web visit https://groups.google.com/d/msgid/doctrine-user/CAEPJdunhj4KqDm1hSOktgEWBGja6arB5_Cwy49ORuz0obUFpuw%40mail.gmail.com.
