`database_id` is auto-generated when you created the database. You can find it on the dash UI too
database_id is auto-generated when you created the database. You can find it on the dash UI toodatabase_idwrangler d1 execute db --local --file=./drizzle/0000_short_lockheed.sqlwrangler dev
Error: D1_ERROR: too many SQL variables at offset 484



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({
where: inArray(
projects.key,
[... //over 100 items]
),
offset: 50,
})wrangler d1 execute db --local --file=./drizzle/0000_short_lockheed.sqlwrangler dev