Saturday Stream: Knex.js 🫱🏼🫲🏾 vs Sequelize 👀 , Part I
In this video, I walk my students through an introduction to Knex.js as an alternative to Sequelize.
In class, we learned how to access Postgres databases using Sequelize but some of them did not have a good experience with the library - it's not my favorite, either. I thought I'd show them another option for accessing databases from a JavaScript web server application. Knex.js is a query builder that is compatible with a number of popular SQL-based datastores.
We built a simple library management API that returns library and shelf resources.
Of course, this is a false choice since Sequelize is a query builder and ORM where Knex.js is only a query builder. So, in a later video I will add to this context by demonstrating the ORM that is built on top on Knex.js called Bookshelf.js.
Видео Saturday Stream: Knex.js 🫱🏼🫲🏾 vs Sequelize 👀 , Part I канала Quarterly Learnings
In class, we learned how to access Postgres databases using Sequelize but some of them did not have a good experience with the library - it's not my favorite, either. I thought I'd show them another option for accessing databases from a JavaScript web server application. Knex.js is a query builder that is compatible with a number of popular SQL-based datastores.
We built a simple library management API that returns library and shelf resources.
Of course, this is a false choice since Sequelize is a query builder and ORM where Knex.js is only a query builder. So, in a later video I will add to this context by demonstrating the ORM that is built on top on Knex.js called Bookshelf.js.
Видео Saturday Stream: Knex.js 🫱🏼🫲🏾 vs Sequelize 👀 , Part I канала Quarterly Learnings
Комментарии отсутствуют
Информация о видео
30 мая 2023 г. 19:48:03
01:15:34
Другие видео канала