Runkit
Runkit
home page
user forum
new notebook
clone notebook
download notebook
support & documentation
log in
sign up
new notebook
help & feedback
clone this notebook
download this notebook
Sign In
Sign Up
RunKit + npm: knex
node v6.17.1
endpoint
share
tweet
var knex = require("knex")({ client: 'pg' }) knex .with('firstUpdate', knex.raw('?', [knex('table').update({ colName: 'foo' }).where('id', 1)])) .with('secondUpdate', knex.raw('?', [knex('table').update({ colName: 'bar' }).where('id', 2)])) .select(1) .toSQL()
Created from: https://npm.runkit.com/knex
Loading…
Clone and edit this document