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
require('sqlite3'); var knex = require("knex")({ client: 'sqlite3', connection: { filename: './db.db' } }) const { Model } = require('objection'); Model.knex(knex); await Model.query().select('1').from('foo');
Created from: https://npm.runkit.com/knex
Loading…
Clone and edit this document