Could you make an actual reproducible example/test-case? Sounds like a bug, if `:` is considered only in some cases.
Marco Pivetta http://twitter.com/Ocramius http://ocramius.github.com/ On 31 March 2016 at 06:13, Steve Clay <[email protected]> wrote: > Hello, > > In QueryBuilder, createNamedParameter() creates placeholders like > ":dcValue1" but in the parameters array the key is missing the colon > ("dcValue1"). > Whereas setParameter(':test') sets the param with the expected key ":test". > > Why does createNamedParameter() strip the leading colon from the key name? > Someone could easily end up with a params array where some keys lead with > ":" and others don't. > > Steve > > -- > 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 https://groups.google.com/group/doctrine-user. > For more options, visit https://groups.google.com/d/optout. > -- 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 https://groups.google.com/group/doctrine-user. For more options, visit https://groups.google.com/d/optout.
