Knex.js is a thin abstraction that sits on top of the database driver for relational databases. It supports transactions, connection pooling, streaming queries, a thorough test suite, and the ability to run in the browser. Knex can be used in both Node.Js and the browser, limited only by WebSQL’s constraints.

5m read time From medium.com
Post cover image
Table of contents
Step 1. Install Knex.js and migration CLIStep 2. Database configurationStep 3. Migrate using migration CLIStep 4. Define tablesStep 5. Update the database using migration CLIStep 6. Application configuration and session store
2 Comments

Sort:

🇺🇸

daily.dev is the fastest growing developer platform in The United States!

We know how hard it is to be a developer. It doesn't have to be. Personalized news feed, dev community and search, much better than what's out there. Maybe ;)

Already have an account?