Add note about how Query#setParameter() accepts named or positional parameters.
This commit is contained in:
parent
53ebc683c9
commit
34057c5e4b
@ -159,6 +159,9 @@ contrast to many SQL dialects positional parameters are specified
|
||||
with numbers, for example "?1", "?2" and so on. Named parameters
|
||||
are specified with ":name1", ":name2" and so on.
|
||||
|
||||
When referencing the parameters in ``Query#setParameter($param, $value)``
|
||||
both named and positional parameters are used **without** their prefixies.
|
||||
|
||||
DQL SELECT Examples
|
||||
~~~~~~~~~~~~~~~~~~~
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user