Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

node js knex sqlite query

knex.select('*').from('users').leftJoin('accounts', 'users.id', 'accounts.user_id')
Outputs:
select * from `users` left join `accounts` on `users`.`id` = `accounts`.`user_id`
Source by knexjs.org #
 
PREVIOUS NEXT
Tagged: #node #js #knex #sqlite #query
ADD COMMENT
Topic
Name
8+4 =