Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

knexjs whereIn

knex.select('*').from('users').havingIn('id', [5, 3, 10, 17])
Outputs:
select * from `users` having `id` in (5, 3, 10, 17)
Source by knexjs.org #
 
PREVIOUS NEXT
Tagged: #knexjs #whereIn
ADD COMMENT
Topic
Name
1+2 =