5 个仓库
Mapping between application-level enumeration types and database-level enum types.
Distinct from Enum Definitions: Focuses on the mapping between code enums and database storage, not just internal enum definitions.
Explore 5 awesome GitHub repositories matching data & databases · Application-to-Database Enum Mapping. Refine with filters or upvote what's useful.
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
Maps application-level enumeration types to their corresponding database-level enum representations.
Sea-ORM is an asynchronous SQL object-relational mapper and database toolkit for mapping relational tables to strongly typed objects. It provides a relational database mapper for performing CRUD operations across MySQL, PostgreSQL, and SQLite, and includes a programmatic dynamic query builder for constructing complex SQL statements. The project distinguishes itself by providing a GraphQL schema generator that transforms database entities into typed schemas with built-in pagination and filters. It also features a dedicated database migration tool for defining and applying versioned schema chan
Connects database-level enumeration types to application-level enums using native types or standard columns.
sqlboiler is a database-first ORM generator for Go that analyzes an existing database schema to produce strongly typed structures and query helpers. It functions as a schema-driven code generator, transforming database tables and relationships into executable Go source code. The project distinguishes itself through a type-safe query builder that uses chainable modifiers to construct SQL statements, eliminating the need for raw string concatenation. It utilizes customizable text templates to generate source code, allowing for the aliasing of schema entities and the creation of custom templates
Converts database enum types into language-specific constants to ensure type safety and eliminate raw strings.
Graphene-Django 是一个 GraphQL 集成框架和模式映射器,用于为 Django 应用程序构建类型化 API。它作为一个数据库 API 层,将 Django 模型字段和关系转换为图模式,允许客户端在单次调用中请求特定数据。 该项目实现了 Relay 规范,提供用于全局对象标识和标准化基于连接的分页的工具,以管理大型数据集。它通过将数据库模型、表单和序列化器直接映射到 GraphQL 对象类型和变更(Mutations)中而脱颖而出。 该框架涵盖了广泛的能力,包括字段级访问控制、基于中间件的请求拦截以及通过 WebSocket 路由处理实时操作。它还包括用于 SQL 性能检查和变更事务包装的实用程序,以确保更新期间的数据完整性。 提供了一个专门的测试客户端来验证 API 响应并针对端点执行查询。
Transforms database field options into typed GraphQL enums to ensure valid input selection.
Drift is a type-safe SQL persistence library and relational mapper that provides a structured way to map database tables to classes and execute SQL queries with build-time validation. It functions as a type-safe query builder and a wrapper for SQLite and PostgreSQL, eliminating manual result set parsing by binding query outputs to native objects. The project distinguishes itself through a build-time code generation system that produces type-safe APIs and validates raw SQL statements against database versions before execution. It features reactive query streaming, which transforms SQL queries
Maps application-level enumeration types to database storage without requiring custom converters.