3 مستودعات
Declares relationships between models using foreign keys, join tables, composite keys, or computed keys.
Distinct from One-to-Many Relationship Models: Distinct from One-to-Many Relationship Models: covers all cardinalities and key strategies, not just one-to-many.
Explore 3 awesome GitHub repositories matching data & databases · Association Definitions. Refine with filters or upvote what's useful.
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
Provides helper methods to manage associations based on foreign key definitions.
Active Model Serializers is a Ruby on Rails JSON serializer used to transform model objects and associations into structured JSON responses for APIs. It functions as a model-to-JSON mapper and response formatter that decouples internal database schemas from external API contracts. The project utilizes a pluggable adapter pattern to organize serialized data according to specific standards, such as the JSON API specification. It provides a mechanism to map internal attributes to custom JSON keys and implements a serialization scope that allows for attribute and association filtering based on au
Provides a descriptive language to specify how related models are included and represented in the JSON output.
Sequel is a relational database toolkit for Ruby that provides object-relational mapping, a fluent SQL query builder, and schema migration capabilities. It maps database tables to Ruby classes with support for associations, validations, lifecycle hooks, and eager loading, offering a comprehensive ORM layer for building data-centric applications. Sequel distinguishes itself through a plugin-based extension architecture that allows composable customization of models, databases, and datasets without relying on deep inheritance hierarchies. It includes a thread-safe connection pool with support f
Sequel declares one-to-many, many-to-many relationships using foreign keys, join tables, composite keys, or computed keys.