Full Stack Tools

{ Full Stack Tools }

  • Tools
  • Blog
  • Contact
  • Buy me a coffee

Full Stack Tools
{ Full Stack Tools }
Powered by Pynovate Studio

Hot Services

  • GitHub
  • Vercel
  • Supabase
  • Tailwind CSS

Credit to

  • Cloudflare
  • Next.js
  • Supabase
  • Pynovate Studio

Language

      中文(繁體)
      English
      Español
©2024 All rights reservedPrivacy Policy
/ORM Toolkit
/TypeORM
TypeORM
TypeORM

Node.js ORM written in TypeScript.

★★★☆☆
FreeOpen Source

What is 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 (ES2021). 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 and Data Mapper patterns, unlike all other JavaScript ORMs currently in existence, which means you can write high-quality, loosely coupled, scalable, maintainable applications in the most productive way.

TypeORM is highly influenced by other ORMs, such as Hibernate, Doctrine and Entity Framework.

TypeORM TypeORM TypeORM

GitHub: https://github.com/typeorm/typeorm

Features

  • Supports both DataMapper and ActiveRecord (your choice).
  • Entities and columns.
  • Database-specific column types.
  • Entity manager.
  • Repositories and custom repositories.
  • Clean object-relational model.
  • Associations (relations).
  • Eager and lazy relations.
  • Uni-directional, bi-directional, and self-referenced relations.
  • Supports multiple inheritance patterns.
  • Cascades.
  • Indices.
  • Transactions.
  • Migrations and automatic migrations generation.
  • Connection pooling.
  • Replication.
  • Using multiple database instances.
  • Working with multiple database types.
  • Cross-database and cross-schema queries.
  • Elegant-syntax, flexible and powerful QueryBuilder.
  • Left and inner joins.
  • Proper pagination for queries using joins.
  • Query caching.
  • Streaming raw results.
  • Logging.
  • Listeners and subscribers (hooks).
  • Supports closure table pattern.
  • Schema declaration in models or separate configuration files.
  • Supports MySQL / MariaDB / Postgres / CockroachDB / SQLite / Microsoft SQL Server / Oracle / SAP Hana / sql.js.
  • Supports MongoDB NoSQL database.
  • Works in NodeJS / Browser / Ionic / Cordova / React Native / NativeScript / Expo / Electron platforms.
  • TypeScript and JavaScript support.
  • ESM and CommonJS support.
  • Produced code is performant, flexible, clean, and maintainable.
  • Follows all possible best practices.
  • CLI.

Try it now

You may also want to try:

Drizzle ORM

Drizzle ORM

★★★★☆

Drizzle ORM is a lightweight and performant TypeScript ORM with developer experience in mind.

Prisma ORM

Prisma ORM

★★★★☆

Simplify working and interacting with databases.