2015
Pluralsight
Carlos Saloio
2:34
English
This course introduces JavaScript developers to the Knex data access library, which allows you to easily write code targeting popular databases such as SQLite, MySQL, MariaDB, PostgreSQL, and Oracle using a fluent syntax similar to jQuery. This course will show how to add Knex to a Node project, configure it, and write real-world queries to address common application needs. It will also show how to use Knex to perform data migrations of database schema and seed databases with data.
Introduction
Course Outline
What Is Knex?
Starting a Knex Project
Your First Query
Database Options
Tips for Development
Summary
Building Queries
Querying with Promises
Selecting Data
Object Graphs and Eager Loading
Inserts & Updates & Deletes (Oh My!)
Transactions
Summary
Schema Building, Migrations, and Seeding
The Movie Database
Project and CLI Setup
Schema Migrations
Seeding Data
Summary
Real-world Data Access
Project Setup
Querying Data
Modifying Data
Summary
Download File Size:374.97 MB