mirror of
https://github.com/doctrine/orm.git
synced 2026-03-24 06:52:09 +01:00
DDC-170: Smarter IN() query mapping #209
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @doctrinebot on GitHub (Nov 21, 2009).
Originally assigned to: @guilhermeblanco on GitHub.
Jira issue originally created by user mcurcio:
This is my desired final product:
I am currently using unpleasant methods of generating strings of '?' to insert into the DQL, which is not quite as elegant as the rest of the DQL language.
@doctrinebot commented on GitHub (Jan 13, 2010):
Comment created by mcurcio:
Can we call this a 2.0beta improvement?
@doctrinebot commented on GitHub (May 6, 2010):
Comment created by mjh_ca:
Agree it would be nice via setParameter. But, this can already be accomplished via QueryBuilder expr(). For example:
@doctrinebot commented on GitHub (May 13, 2011):
Comment created by @guilhermeblanco:
Currently it's possible to send an array of parameters that can perfectly fix this.
Here is a sample for consideration:
With the last commit:
8e3fdc5adcIt is now possible to do that without having to manually define a parameter type (which smartly converts into valid data types).
Regards,
@doctrinebot commented on GitHub (May 13, 2011):
Issue was closed with resolution "Fixed"