Hi. Why do I get this error? `Error: D1_ERROR: too many SQL variables at offset 484` I use drizzle

Hi. Why do I get this error? Error: D1_ERROR: too many SQL variables at offset 484 I use drizzle.
const data = await db.query.projects.findMany({
limit: PAGE_LIMIT,
where: inArray(
girls.id,
girlsIds.map(({ id }) => id),
),
offset: calcOffset(Number(qs.page), PAGE_LIMIT),
})
const data = await db.query.projects.findMany({
limit: PAGE_LIMIT,
where: inArray(
girls.id,
girlsIds.map(({ id }) => id),
),
offset: calcOffset(Number(qs.page), PAGE_LIMIT),
})
0 Replies
No replies yetBe the first to reply to this messageJoin

Did you find this page helpful?