You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Driver Adapters: findMany() with two large in filters with arrays of 65536 items each results in no query chunking when using Driver Adapters #21803
One would expect query chunking to kick in (as n > 32767). Yet the Prisma query above is translated into a single SELECT statements with 98303 parameters:
changed the title [-]bug: `findMany` with two large `in` filters with arrays of `65536` items each results in no query chunking when using Driver Adapters[/-][+]Driver Adapters: `findMany` with two large `in` filters with arrays of `65536` items each results in no query chunking when using Driver Adapters[/+]on Nov 6, 2023
changed the title [-]Driver Adapters: `findMany` with two large `in` filters with arrays of `65536` items each results in no query chunking when using Driver Adapters[/-][+]Driver Adapters: `findMany()` with two large `in` filters with arrays of `65536` items each results in no query chunking when using Driver Adapters[/+]on Mar 27, 2024
Activity
[-]bug: `findMany` with two large `in` filters with arrays of `65536` items each results in no query chunking when using Driver Adapters[/-][+]Driver Adapters: `findMany` with two large `in` filters with arrays of `65536` items each results in no query chunking when using Driver Adapters[/+]jkomyno commentedon Nov 14, 2023
Note: occasionally, the snippet above actually results in a different parameter count in the error message (see Slack thread):
[-]Driver Adapters: `findMany` with two large `in` filters with arrays of `65536` items each results in no query chunking when using Driver Adapters[/-][+]Driver Adapters: `findMany()` with two large `in` filters with arrays of `65536` items each results in no query chunking when using Driver Adapters[/+]jkomyno commentedon Jul 16, 2024
For this issue, refer to the comment in #23957 (comment)