Simplify sqlJoin required arguments
This commit is contained in:
parent
e87873c929
commit
c3248be854
4 changed files with 10 additions and 13 deletions
|
@ -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};
|
||||
`;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue