Skip to content

Learning materials for working with Knex, Objection and Postgresql

Notifications You must be signed in to change notification settings

BZIvanov/Learning-Knex-with-Objection

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Knex with Objection

Content

demo-a

  • basic setup of knexfile.js
  • basic setup of table migration and seed
  • connecting objection with knex

demo-b

  • basic usage of create table foreign key
  • data validation with objection jsonSchema
  • easier usage of knex commands as package.json commands
  • example how to alter table by adding more columns to a table

demo-c

  • example using 'through' when we work with 3rd table holding the foreign keys between other 2 tables

demo-d

  • example using transactions
  • schema validations

About

Learning materials for working with Knex, Objection and Postgresql

Topics

Resources

Stars

Watchers

Forks