5 个仓库
Tools for synchronizing application model state with database records.
Distinguishing note: Distinct from existing database management: focuses on the synchronization of object state to persistent storage.
Explore 5 awesome GitHub repositories matching data & databases · Model Persistence. Refine with filters or upvote what's useful.
This project is a type-safe database toolkit and object-relational mapper designed to enforce structural consistency between database schemas and application code. By leveraging compile-time validation, it ensures that SQL queries and data structures remain synchronized, preventing common errors before the application executes. It provides a comprehensive framework for relational data modeling, allowing developers to define table associations and map database results directly into strongly-typed language objects. The library distinguishes itself through its focus on compile-time safety and au
Saves the state of identified records directly to the database by synchronizing fields with table rows.
Mantle is a framework for mapping raw data structures and JSON into typed model objects for Cocoa and Cocoa Touch applications. It serves as a data serialization engine and JSON data mapper that transforms dictionaries and arrays into structured model objects. The framework distinguishes itself through an Objective-C persistence layer that manages model disk archiving via keyed archivers. It includes specialized logic for model version management, allowing outdated archived data structures to be upgraded to match current schemas during deserialization. The project covers a broad range of dat
Saves model objects to persistent storage using keyed archivers for later retrieval.
GoJS is a JavaScript diagramming library and canvas-based visualization engine used to build interactive flowcharts, organizational charts, and network diagrams. It functions as a data-driven framework that binds JavaScript data models to visual elements, enabling bidirectional synchronization between the underlying data and the graphical representation. The library features a comprehensive graph layout engine capable of automatically arranging nodes into trees, grids, circles, or force-directed layouts. It distinguishes itself through a template-based system for generating visual parts and a
Saves and loads diagram state as JSON-formatted text for persistence and restoration.
Bun 是一个 Go 语言的类型安全对象关系映射器(ORM),优先考虑 SQL 优先的查询构建和结果映射。它作为一个可编程 SQL 查询构建器、数据库连接管理器以及将数据库表映射到 Go 结构体的工具。 该项目通过多方言 SQL 支持系统脱颖而出,允许单个代码库通过一致的接口与不同的数据库引擎交互。它包括一个用于查询拦截、分布式跟踪和日志记录的内置数据库可观测性工具,以及一个用于版本化结构变更的模式迁移工具。 该库涵盖了广泛的数据操作,包括批量处理、Upsert、软删除以及多态关联等关系数据的管理。它提供使用公用表表达式(CTE)和窗口函数进行高级 SQL 分析的功能,以及原子事务管理和连接池。 模式管理通过用于应用版本化迁移脚本的命令行界面支持。
Updates specific fields on a model immediately before it is inserted or updated in the database.
This project is a database toolkit for Go that provides schema-to-object mapping, fluent query construction, and automated code generation. It functions as a framework for type-safe database access, enabling developers to interact with relational databases by generating models and interfaces directly from existing database schemas. The toolkit distinguishes itself through a workflow that parses hand-written SQL files to generate type-safe functions, allowing for the integration of custom SQL while maintaining consistent result mapping. It supports modular customization through a plugin-based
Inserts generated model instances into the database while automatically handling required relationships to ensure data integrity.