kornel
kornel
DTDrizzle Team
Created by kornel on 11/3/2023 in #help
inArray() using sql`` operator in JS and Postgres
Hey, how do I use sql operator with arrays in JS?
const array = [1,2,3];
const sqlQuery = sql`${users.id} IN ???`;
const array = [1,2,3];
const sqlQuery = sql`${users.id} IN ???`;
3 replies