knexjs ( http://knexjs.org/ ) is SQL query builder.
This gist is a simple knexjs sample.
- Clone this gist to a local folder
- Run
npm run build
in the local folder
node index.js --createSchema
: Create the database schema. (The default SQL client is sqlite3. The schema is created by db_schema.js )