xgqfrms™, xgqfrms® : xgqfrms's offical website of cnblogs! xgqfrms™, xgqfrms® : xgqfrms's offical website of GitHub!

Node.js ORM All In One

Node.js ORM All In One

Node.js

Sequelize

Sequelize is a modern TypeScript and Node.js ORM for Oracle, Postgres, MySQL, MariaDB, SQLite and SQL Server, and more.

$ npm install sequelize sqlite3
# or
$ yarn add sequelize sqlite3
import { Sequelize, Model, DataTypes } from 'sequelize';

const sequelize = new Sequelize('sqlite::memory:');
const User = sequelize.define('User', {
  username: DataTypes.STRING,
  birthday: DataTypes.DATE,
});
const jane = await User.create({
  username: 'janedoe',
  birthday: new Date(1980, 6, 20),
});

const users = await User.findAll();

https://sequelize.org/

https://github.com/sequelize/sequelize

https://www.npmjs.com/package/sequelize

TypeScript

TypeORM

https://typeorm.io/

https://github.com/typeorm/typeorm

https://www.npmjs.com/package/typeorm

Prisma

Next-generation ORM for Node.js & TypeScript | PostgreSQL, MySQL, MariaDB, SQL Server, SQLite, MongoDB and CockroachDB

https://www.prisma.io

https://github.com/prisma/prisma

mongo

The MongoDB Database

www.mongodb.com/

https://github.com/mongodb/mongo

ORM

ORM DadaBases

MySQL

SQLite

https://github.com/topics/orm

https://github.com/topics/mysql

ODM

ODM DadaBases

MongoDB

https://github.com/topics/odm
https://github.com/topics/odm?o=desc&s=stars

https://github.com/topics/mongodb

https://github.com/NodeBB/NodeBB

tools

refs

https://www.cnblogs.com/xgqfrms/p/12861528.html

https://www.cnblogs.com/xgqfrms/p/12009776.html

https://www.cnblogs.com/xgqfrms/p/13595464.html



©xgqfrms 2012-2025

www.cnblogs.com/xgqfrms 发布文章使用:只允许注册用户才可以访问!

原创文章,版权所有©️xgqfrms, 禁止转载 🈲️,侵权必究⚠️!


posted @   xgqfrms  阅读(26)  评论(3编辑  收藏  举报
相关博文:
阅读排行:
· 被坑几百块钱后,我竟然真的恢复了删除的微信聊天记录!
· 【自荐】一款简洁、开源的在线白板工具 Drawnix
· 没有Manus邀请码?试试免邀请码的MGX或者开源的OpenManus吧
· 园子的第一款AI主题卫衣上架——"HELLO! HOW CAN I ASSIST YOU TODAY
· 无需6万激活码!GitHub神秘组织3小时极速复刻Manus,手把手教你使用OpenManus搭建本
历史上的今天:
2021-10-13 Linux command line cursor goto All In One
2021-10-13 macOS & zsh: permission denied bug All In One
2021-10-13 Linux ls command All In One
2021-10-13 Linux echo 换行 All In One
2021-10-13 google chrome goto special text by url All In One
2020-10-13 MDN 文档高级操作进阶教程
2020-10-13 Learning Web Performance with MDN
点击右上角即可分享
微信分享提示