From 35a9fbcb8adefaa794d93e528125b2936ea620e3 Mon Sep 17 00:00:00 2001 From: Aroyan <43630681+aroyan@users.noreply.github.com> Date: Wed, 5 Oct 2022 07:54:28 +0800 Subject: [PATCH] feat: add working with relational databases content (#1942) * feat: add Set JavaScript content * feat: add knex content * feat: add typeorm content * feat: add sequelize content * feat: add prisma content Co-authored-by: Kamran Ahmed --- .../110-nodejs-databases/100-relational/100-knex.md | 8 +++++++- .../100-relational/101-type-orm.md | 11 ++++++++++- .../110-nodejs-databases/100-relational/103-prisma.md | 2 +- 3 files changed, 18 insertions(+), 3 deletions(-) diff --git a/content/roadmaps/107-nodejs/content/110-nodejs-databases/100-relational/100-knex.md b/content/roadmaps/107-nodejs/content/110-nodejs-databases/100-relational/100-knex.md index feb8c9204..173c550e9 100644 --- a/content/roadmaps/107-nodejs/content/110-nodejs-databases/100-relational/100-knex.md +++ b/content/roadmaps/107-nodejs/content/110-nodejs-databases/100-relational/100-knex.md @@ -1 +1,7 @@ -# Knex \ No newline at end of file +# Knex + +Knex.js is a "batteries included" SQL query builder for PostgreSQL, CockroachDB, MSSQL, MySQL, MariaDB, SQLite3, Better-SQLite3, Oracle, and Amazon Redshift designed to be flexible, portable, and fun to use. + +Free Content + +Knex.js Docs diff --git a/content/roadmaps/107-nodejs/content/110-nodejs-databases/100-relational/101-type-orm.md b/content/roadmaps/107-nodejs/content/110-nodejs-databases/100-relational/101-type-orm.md index b7ed73d94..ef5426a77 100644 --- a/content/roadmaps/107-nodejs/content/110-nodejs-databases/100-relational/101-type-orm.md +++ b/content/roadmaps/107-nodejs/content/110-nodejs-databases/100-relational/101-type-orm.md @@ -1 +1,10 @@ -# Type orm \ No newline at end of file +# TypeORM + +TypeORM is an ORM that can run in NodeJS, Browser, Cordova, PhoneGap, Ionic, React Native, NativeScript, Expo, and Electron platforms and can be used with TypeScript and JavaScript (ES5, ES6, ES7, ES8). Its goal is to always support the latest JavaScript features and provide additional features that help you to develop any kind of application that uses databases - from small applications with a few tables to large scale enterprise applications with multiple databases. + +TypeORM supports both [Active Record](https://typeorm.io/active-record-data-mapper#what-is-the-active-record-pattern) and [Data Mapper](https://typeorm.io/active-record-data-mapper#what-is-the-data-mapper-pattern) patterns, unlike all other JavaScript ORMs currently in existence, which means you can write high quality, loosely coupled, scalable, maintainable applications the most productive way. + +Free Content + +TypeORM Docs +TypeORM Crash Course diff --git a/content/roadmaps/107-nodejs/content/110-nodejs-databases/100-relational/103-prisma.md b/content/roadmaps/107-nodejs/content/110-nodejs-databases/100-relational/103-prisma.md index 5a6c10501..1cbcc483c 100644 --- a/content/roadmaps/107-nodejs/content/110-nodejs-databases/100-relational/103-prisma.md +++ b/content/roadmaps/107-nodejs/content/110-nodejs-databases/100-relational/103-prisma.md @@ -1,6 +1,6 @@ # Prisma -Prisma is a next-generation object–relational mapper (ORM) that claims to help developers build faster and make fewer errors. Prisma takes a different approach to ORMs compared to traditional ORMs. It uses a custom Schema Definition Language (SDL) that automatically writes migrations and generates type-safe code. +Prisma is an ORM that helps app developers build faster and make fewer errors. Combined with its Data Platform developers gain reliability and visibility when working with databases. Free Content Prisma Website