ForbesLindesay/atdatabases

Mysql: where in expression?

nelsonwellswku opened this issue · 0 comments

How do you write a sql query that uses the where in expression?

const results = sql`SELECT * from accounts a where a.accountId in (${accountIds});`;

Whatever I've tried so far only returns the first result.