Skip to content

Generating Queries with Tuples #4227

@diogorodriguesc

Description

@diogorodriguesc

What do you want to change?

I did notice we don't have documentation for tuples, so I think its not implemented yet.

MySQL documentation reference: https://dev.mysql.com/doc/refman/8.4/en/row-constructor-optimization.html

SELECT code, type FROM country_types WHERE (country = "pt" AND type = 1) OR (country = "de" AND type = 3);

with tuples:

SELECT code, type FROM country_types WHERE (country, type) IN (("pt", 1), ("de", 3));

What database engines need to be changed?

MySQL

What programming language backends need to be changed?

No response

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions