2 repos
Tools that map application objects to document database structures using metadata or decorators.
Distinguishing note: None of the candidates were provided; this focuses on the mapping layer rather than the driver itself.
Explore 2 awesome GitHub repositories matching data & databases · Object-Document Mappers. Refine with filters or upvote what's useful.
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
TypeORM maps classes to collections using decorators to specify primary keys and embed subdocuments within parent entities.
RethinkDB is a distributed, document-oriented database designed to store and manage JSON-formatted data across scalable clusters. It utilizes a custom log-structured storage engine with B-Tree indexing to ensure high-performance disk I/O and data persistence. The system maintains high availability through automatic sharding and replication, employing a primary-replica voting consensus mechanism to handle node failures and ensure consistent cluster operations. A defining characteristic of the platform is its reactive changefeed engine, which allows applications to subscribe to live data update
RethinkDB defines data models with type annotations, secondary indexes, and associations while applying custom validations to ensure data integrity before saving documents.