volatiletech / sqlboiler

Generate a Go ORM tailored to your database schema.
BSD 3-Clause "New" or "Revised" License
6.7k stars 542 forks source link

AndIn generates a list of pairs instead of a flat list. #1331

Closed janekolszak closed 7 months ago

janekolszak commented 10 months ago

AndIn generates peculiar list of pairs instead of a flat list.

What version of SQLBoiler are you using (sqlboiler --version)?

4.15

What is your database and version (eg. Postgresql 10)

Postgres 15

If this happened at runtime what code produced the issue? (if not applicable leave blank)

AndIn

What is the output of the command above with the -d flag added to it? (Provided you are comfortable sharing this, it contains a blueprint of your schema)

IN (($22,$23),($24,$25),($26,$27)))

Further information. What did you do, what did you expect?

Expected something like `IN ($22, $23, $24)

stephenafamo commented 9 months ago

Please provide more comprehensive code samples so it is easier to understand in which cases this happens.