2 个仓库
Mechanisms for converting complex entities into plain objects or JSON based on configurable field groups.
Distinct from Serial-to-Network Converters: None of the candidates cover the specific ORM pattern of converting entities to JSON with field-level exposure control.
Explore 2 awesome GitHub repositories matching data & databases · Entity Data Serialization. Refine with filters or upvote what's useful.
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 com
Provides configurable serialization of entity instances into plain objects or JSON formats to control data exposure.
Ktorm 是一个轻量级的 Kotlin 对象关系映射 (ORM) 框架,提供类型安全的 SQL 领域特定语言 (DSL) 和用于数据库交互的函数式序列 API。它使开发者能够定义数据库模式并将关系表映射到基于接口的对象,确保数据持久化和检索通过强类型表达式处理。 该框架通过利用函数式、集合风格的查询构建方法而脱颖而出,允许开发者使用符合习惯的语言模式链接过滤、排序和聚合等操作。通过采用惰性序列评估,该库确保数据库操作被推迟到数据被显式访问时才执行,这优化了记录检索过程中的性能和内存使用。 该系统涵盖了广泛的数据库管理功能,包括自动连接操作、结果分页和实体生命周期管理。它支持复杂的模式定义和自定义类型映射,提供在保持模式一致性的同时,将内存对象状态与持久数据库记录同步的工具。
Converts entity data into standard formats like JSON or binary streams for storage and transmission.