Skip to content

Using knex.js + new operations.

Choose a tag to compare

@knownasilya knownasilya released this 28 Feb 17:07
· 32 commits to master since this release

Using knex.js for this, since writing sql statements by hand isn't the best idea..

Also have -o which stands for operations, and is by default insert. Other possibilities are update and delete, which must make use of -p, for primary key.

-p columnName is set with the column name of the column in your database.