mirror of
https://github.com/doctrine/orm.git
synced 2026-03-23 22:42:18 +01:00
row constructors multi fields in() #7118
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 @revilon1991 on GitHub (Mar 9, 2023).
Feature Request
Hello, it seems to me that we don't have the feature row constructors in the query builder.
Why?
Summary
For example, we can do this query as a clean SQL like as:
And we could get all users who live in Cyprus, Limassol and who live in The Netherlands, Amsterdam.
Sometimes this construction calls "row constructors".
I can help to develop that and make PR if you wish.
More information have in MySQL docs
@derrabus commented on GitHub (Mar 13, 2023):
Probably because nobody has built that yet. Feel free to give it a try if you need this feature.