rdb
MikroORM
rdb | MikroORM | |
---|---|---|
5 | 48 | |
570 | 7,174 | |
3.4% | 1.7% | |
9.4 | 9.9 | |
2 days ago | 5 days ago | |
JavaScript | TypeScript | |
ISC License | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
rdb
-
Flyweight: A Node.js ORM Specifically for SQLite
You should try https://github.com/alfateam/rdb
It is database agnostic. It works with sqlite, mssql, mysql, postgres, oracle, and sapase.
It gives you full intellisense without code generation - even when running pure javascript.
You can run it from the browser in a secure manner, as you can host it in express js via adapter.
I am the author.
- RDB - ORM in the browser
- RDB – ORM in the browser, TypeScript / JavaScript
-
One ORM to rule them all
Have you tried https://npmjs.org/rdb ? Well documented and very stable: https://github.com/alfateam/rdb/blob/master/docs/docs.md (I am the author)
MikroORM
-
Rust GraphQL APIs for NodeJS Developers: Introduction
In my usual NodeJS tech stack, which includes GraphQL, NestJS, SQL (predominantly PostgreSQL with MikroORM), I encountered these limitations. To overcome them, I've developed a new stack utilizing Rust, which still offers some ease of development:
- MikroORM 6: Polished – MikroORM
- I Hate NestJS
-
What's wrong with Node.js ORMs? Thousands of issues? Why?
https://www.npmjs.com/package/mikro-orm - 44 issues
-
Top 6 ORMs for Modern Node.js App Development
Mikro-ORM is a TypeScript ORM that focuses on simplicity and efficiency. It supports various SQL databases and MongoDB. Mikro-ORM is known for its simplicity and developer-friendly APIs. It provides a concise syntax for defining data models and relationships, making it easy to use.
-
We migrated to SQL. Our biggest learning? Don't use Prisma
I found MikroORM [0] to be quite reasonable if you're in the TS ecosystem already. It was also easy to do custom, raw queries, and really just felt like it wasn't in the way.
[0] https://mikro-orm.io/
- Mikro-ORM – TypeScript ORM for Node.js
-
The Epic Stack by Kent C. Dodds
It also does code generation into its own module, so good luck with hoisting in a monorepo where you want multiple independent prisma schemas. MikroORM[1] is a much better alternative to Prisma in my opinion but any ORM carries some form of baggage.
[1] https://mikro-orm.io/
-
MikroORM v6 gets a strict partial loading support
More about v6 development can be found here.
-
Announcing a new TypeScript ORM
I recommend looking at https://mikro-orm.io/
What are some alternatives?
typegraphql-prisma - Prisma generator to emit TypeGraphQL types and CRUD resolvers from your Prisma schema
Prisma - Next-generation ORM for Node.js & TypeScript | PostgreSQL, MySQL, MariaDB, SQL Server, SQLite, MongoDB and CockroachDB
aurora - CLI tool that orchestrates prisma files in a way that allows multiple .prisma files with cross-relations
TypeORM - ORM for TypeScript and JavaScript. Supports MySQL, PostgreSQL, MariaDB, SQLite, MS SQL Server, Oracle, SAP Hana, WebSQL databases. Works in NodeJS, Browser, Ionic, Cordova and Electron platforms.
Bookshelf - A simple Node.js ORM for PostgreSQL, MySQL and SQLite3 built on top of Knex.js
Mongoose - MongoDB object modeling designed to work in an asynchronous environment.
puresql - ES6/7 ready SQL library for node.js inspired by Clojure's yesql
Sequelize - Feature-rich ORM for modern Node.js and TypeScript, it supports PostgreSQL (with JSON and JSONB support), MySQL, MariaDB, SQLite, MS SQL Server, Snowflake, Oracle DB (v6), DB2 and DB2 for IBM i.
opensql - OpenSql is a promise-based Node.js ORM tool for MySql, Postgres and Microsoft Sql Server.
drizzle-orm - Headless TypeScript ORM with a head. Runs on Node, Bun and Deno. Lives on the Edge and yes, it's a JavaScript ORM too 😅
prisma-examples - 🚀 Ready-to-run Prisma example projects