How to fetch with multiple ids
This query gives me:
Hows everyone fetching with multiple ids?
const ticketListingRows = await orderDb
.select()
.from(ticketListing)
.where(sql`id IN (3,4) AND event_id = ${eventId}`); const ticketListingRows = await orderDb
.select()
.from(ticketListing)
.where(sql`id IN (3,4) AND event_id = ${eventId}`);RangeError: Only finite numbers (not Infinity or NaN) can be passed as arguments RangeError: Only finite numbers (not Infinity or NaN) can be passed as arguments