Simplify sqlJoin required arguments

This commit is contained in:
trevor-signal 2023-11-22 17:48:53 -05:00 committed by GitHub
parent e87873c929
commit c3248be854
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 10 additions and 13 deletions

View file

@ -38,7 +38,7 @@ describe('sql/utils/sql', () => {
const [selectQuery, selectParams] = sql`
SELECT * FROM examples WHERE
id IN (${sqlJoin([1, 2], ', ')}) OR
id IN (${sqlJoin([1, 2])}) OR
${predicate};
`;