awesome-repositories.com
المدونة
awesome-repositories.com

اكتشف أفضل مستودعات المصادر المفتوحة باستخدام بحث مدعوم بالذكاء الاصطناعي.

استكشفعمليات بحث منسقةبدائل مفتوحة المصدربرمجيات ذاتية الاستضافةالمدونةخريطة الموقع
المشروعحولكيفية ترتيب النتائجالصحافةخادم MCP
قانونيالخصوصيةالشروط
© 2026 Bringes Technology SRL·VAT RO45896025·hello@awesome-repositories.com
·
mikro-orm avatar

mikro-orm/mikro-orm

0
View on GitHub↗
9,085 نجوم·644 تفرعات·TypeScript·MIT·13 مشاهداتmikro-orm.io↗

Mikro Orm

Mikro-ORM is a TypeScript-based object-relational mapping system that provides a unified persistence layer for Node.js applications. It translates TypeScript entities into relational or document-based database schemas, supporting a variety of engines including PostgreSQL, MySQL, MariaDB, MS SQL Server, SQLite, and MongoDB.

The project implements the data mapper pattern to decouple in-memory domain models from the database persistence layer. It utilizes a unit of work pattern to track entity changes in memory and commit them in a single coordinated database transaction.

The library covers comprehensive data storage and synchronization capabilities, including type-safe query building, versioned schema migrations, and request-scoped state management. It provides advanced data modeling for entity inheritance and polymorphic relations, along with tools for query performance monitoring, result caching, and global data filtering.

Command-line utilities are included for managing database migrations, seeding data, and exporting entity definitions from existing schemas.

Features

  • Object-Relational Mappers - Implements a full-featured object-relational mapper that decouples domain models from the persistence layer.
  • Data Mappers - Implements the data mapper pattern to decouple in-memory domain models from the database persistence layer.
  • Database Mapping - Provides a unified mapping layer compatible with both relational and document-based database engines.
  • Relational Persistence Layers - Provides a relational persistence layer that manages data storage using schemas and object-relational mapping.
  • Database Adapters - Implements a standardized adapter layer to decouple application logic from multiple supported database engines.
  • Atomic Transactions - Groups multiple data operations into a single atomic unit to ensure database consistency.
  • Entity CRUD Management - Provides fundamental CRUD capabilities for inserting, updating, deleting, and retrieving entities.
  • Identity Maps - Maintains an identity map to ensure each database record is represented by a single unique object instance.
  • Fluent Query Builders - Ships a fluent, method-chaining interface for constructing type-safe database queries.
  • State Change Tracking - Monitors modifications to in-memory objects to ensure accurate persistence during database synchronization.
  • Persistence Layers - Provides a unified persistence interface supporting multiple database engines including PostgreSQL, MySQL, and MongoDB.
  • Schema Definitions - Provides a declarative system for defining data object structures using schemas and decorators.
  • Type-Safe Query Builders - Offers a type-safe query builder with compile-time validation, relational population, and sorting.
  • TypeScript Database Modeling - Allows defining complex data structures and relationships using TypeScript classes to mirror relational or document databases.
  • Metadata Mapping - Uses decorators and schema definitions to declaratively map class properties to database columns.
  • Unit of Work Patterns - Implements a unit of work pattern to track entity changes in memory and commit them in one coordinated transaction.
  • Request-Scoped State - Ties database state management to the lifecycle of a single execution request to prevent user data leakage.
  • Identity Maps - Isolates identity maps to individual web requests to ensure data consistency and prevent leakage.
  • Data Loading Optimizations - Offers loading strategies and partial field fetching to reduce memory usage and improve response times.
  • Database Schema Migrations - Automates the application of versioned updates to keep database schemas in sync with application code.
  • Database Migration Management - Ships a comprehensive system for tracking and applying schema changes using versioned migration files.
  • Database Migration Tools - Provides utilities for generating and executing versioned schema changes to keep the database in sync.
  • Database Schema Constraints - Enforces data integrity across different engines through defined check constraints, unique keys, and foreign keys.
  • Database Schema Managers - Provides declarative tools for defining and managing database structures based on entity models.
  • Global Data Filters - Provides a mechanism to restrict returned entities using global or relation-specific filters for multi-tenancy and soft-delete logic.
  • Optimistic Locking - Prevents concurrent update conflicts by checking a version column before committing changes.
  • Polymorphic Data Modeling - Supports advanced data modeling including entity inheritance and polymorphic relations.
  • Schema Migrations - Implements a system for automating database structure evolution via versioned migrations.
  • Database ORMs - ORM based on Data Mapper and Unit of Work patterns.
  • Database Tools - Object-relational mapper with unit of work support.
  • قواعد البيانات - TypeScript ORM with data mapper and identity map.
  • Object Relational Mappers - TypeScript ORM based on Data Mapper patterns.
  • Search and Databases - Implements Data Mapper and Unit of Work patterns.

سجل النجوم

مخطط تاريخ النجوم لـ mikro-orm/mikro-ormمخطط تاريخ النجوم لـ mikro-orm/mikro-orm

بحث بالذكاء الاصطناعي

استكشف المزيد من المستودعات الرائعة

صف ما تحتاجه بلغة بسيطة — وسيقوم الذكاء الاصطناعي بترتيب آلاف المشاريع مفتوحة المصدر المنسقة حسب الصلة.

Start searching with AI

الأسئلة الشائعة

ما هي وظيفة mikro-orm/mikro-orm؟

Mikro-ORM is a TypeScript-based object-relational mapping system that provides a unified persistence layer for Node.js applications. It translates TypeScript entities into relational or document-based database schemas, supporting a variety of engines including PostgreSQL, MySQL, MariaDB, MS SQL Server, SQLite, and MongoDB.

ما هي الميزات الرئيسية لـ mikro-orm/mikro-orm؟

الميزات الرئيسية لـ mikro-orm/mikro-orm هي: Object-Relational Mappers, Data Mappers, Database Mapping, Relational Persistence Layers, Database Adapters, Atomic Transactions, Entity CRUD Management, Identity Maps.

ما هي البدائل مفتوحة المصدر لـ mikro-orm/mikro-orm؟

تشمل البدائل مفتوحة المصدر لـ mikro-orm/mikro-orm: doctrine/orm — Doctrine ORM is a PHP object-relational mapper that connects application objects to relational database tables. It… dotnet/efcore — Entity Framework Core is an object-relational mapper that enables developers to interact with database systems using… dotnetcore/freesql — FreeSql is a .NET object-relational mapper and data access layer that translates object-oriented code into SQL for… typeorm/typeorm — TypeORM is an object-relational mapper for TypeScript and JavaScript that bridges the gap between object-oriented… drizzle-team/drizzle-orm — Drizzle ORM is a TypeScript-native database toolkit providing type-safe SQL query building, schema management, and… knex/knex — Knex is a multi-dialect database client that provides a programmatic SQL query builder, a connection pool manager, and…

بدائل مفتوحة المصدر لـ Mikro Orm

مشاريع مفتوحة المصدر مشابهة، مرتبة حسب عدد الميزات المشتركة مع Mikro Orm.
  • doctrine/ormالصورة الرمزية لـ doctrine

    doctrine/orm

    10,172عرض على GitHub↗

    Doctrine ORM is a PHP object-relational mapper that connects application objects to relational database tables. It uses the data mapper and identity map patterns to decouple the in-memory object model from the database schema, allowing developers to manage data persistence without writing manual SQL. The project features a dedicated object-oriented query language and programmatic builder for retrieving data based on entities rather than tables. It implements a unit-of-work system to track object changes during a request and synchronize them via atomic transactions. The capability surface inc

    PHPhacktoberfest
    عرض على GitHub↗10,172
  • dotnet/efcoreالصورة الرمزية لـ dotnet

    dotnet/efcore

    14,587عرض على GitHub↗

    Entity Framework Core is an object-relational mapper that enables developers to interact with database systems using strongly-typed code. It serves as a comprehensive data access framework, providing a unified interface for mapping application objects to relational and non-relational database schemas while managing the lifecycle of data operations through a central context. The project distinguishes itself through a provider-based architecture that decouples core data access logic from specific database engines, allowing for consistent interaction across diverse storage systems. It features a

    C#aspnet-productc-sharpdatabase
    عرض على GitHub↗14,587
  • dotnetcore/freesqlالصورة الرمزية لـ dotnetcore

    dotnetcore/FreeSql

    4,388عرض على GitHub↗

    FreeSql is a .NET object-relational mapper and data access layer that translates object-oriented code into SQL for multiple relational database providers. It functions as a fluent SQL query builder and database schema synchronizer, allowing developers to align database table and index structures with entity class definitions. The framework is specifically optimized for .NET Native AOT to ensure reduced memory footprints and faster startup times. It includes a database traffic manager to distribute load through read-write splitting, dynamic table sharding, and tenant-based data isolation. Bro

    C#accessclickhousecodefirst
    عرض على GitHub↗4,388
  • typeorm/typeormالصورة الرمزية لـ typeorm

    typeorm/typeorm

    36,540عرض على GitHub↗

    TypeORM is an object-relational mapper for TypeScript and JavaScript that bridges the gap between object-oriented application code and relational database tables. It provides a comprehensive data persistence layer that allows developers to define database entities using class decorators or configuration objects, enabling seamless interaction with data through object-oriented patterns. The project distinguishes itself through a flexible architecture that supports both the data mapper and repository patterns, alongside a fluent query builder that translates high-level method calls into platform

    TypeScriptactive-recordcockroachdbdata-mapper
    عرض على GitHub↗36,540
  • عرض جميع البدائل الـ 30 لـ Mikro Orm→