awesome-repositories.com
Blog
MCP
awesome-repositories.com

Descoperă cele mai bune repository-uri open source cu căutare AI.

ExploreazăCăutări recomandateAlternative open-sourceSoftware self-hostedBlogHartă site
ProiectServer MCPDespreCum realizăm clasamentulPresă
LegalConfidențialitateTermeni
© 2026 Bringes Technology SRL·VAT RO45896025·hello@awesome-repositories.com
·

25 repository-uri

Awesome GitHub RepositoriesForeign Key Constraints

Mechanisms for enforcing parent-child integrity through identifier references between database records.

Distinguishing note: Focuses on the implementation of foreign key references and parent-child integrity, distinct from general relationship mapping.

Explore 25 awesome GitHub repositories matching data & databases · Foreign Key Constraints. Refine with filters or upvote what's useful.

Awesome Foreign Key Constraints GitHub Repositories

Găsește cele mai bune repo-uri cu AI.Vom căuta cele mai potrivite repository-uri folosind AI.
  • vapor/vaporAvatar vapor

    vapor/vapor

    26,138Vezi pe GitHub↗

    Vapor is a comprehensive server-side web framework designed for building scalable, high-performance applications and APIs in Swift. It provides a non-blocking, event-loop-based runtime that manages concurrent task processing, background job queues, and asynchronous request handling. The framework is built around a dependency injection container that manages the lifecycle and resolution of services, configurations, and database connections throughout the request pipeline. The framework distinguishes itself through a protocol-oriented design that emphasizes type safety across all layers of the

    Define a parent-child relationship between models by storing a reference to another model's identifier, supporting both required and optional parent associations.

    Swiftframeworkhttphttp2
    Vezi pe GitHub↗26,138
  • vitessio/vitessAvatar vitessio

    vitessio/vitess

    20,788Vezi pe GitHub↗

    Vitess is a database clustering system for horizontal scaling of MySQL. It functions as a middleware layer that abstracts complex sharding and physical topology, allowing applications to interact with a distributed database environment through a unified interface. By intercepting and routing SQL queries across multiple shards, it enables large-scale data management while maintaining the appearance of a single database instance. The platform distinguishes itself through its ability to perform online schema migrations and distributed transaction coordination without requiring application downti

    Maintains relational integrity across distributed database nodes by managing and validating foreign key relationships within the sharding architecture.

    Gocncfdatabase-clusterkubernetes
    Vezi pe GitHub↗20,788
  • doctrine/ormAvatar doctrine

    doctrine/orm

    10,172Vezi pe GitHub↗

    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

    Links objects using multiple join columns for composite primary keys.

    PHPhacktoberfest
    Vezi pe GitHub↗10,172
  • mattn/go-sqlite3Avatar mattn

    mattn/go-sqlite3

    8,993Vezi pe GitHub↗

    This project is a Go language driver for the SQLite database. It provides a relational database interface and a Cgo wrapper that connects Go applications to SQLite for persistent local data storage and query execution. The implementation serves as a provider for JSON document storage and local full-text search. It enables the creation, querying, and modification of JSON data and the implementation of searchable indexes for large text datasets directly within the database. The driver supports standard SQL query execution for both file-based and in-memory storage. It includes capabilities for

    Enforces parent-child integrity by controlling how foreign key constraints are applied during data operations.

    Cgosqlitesqlite3-driver
    Vezi pe GitHub↗8,993
  • aarondl/sqlboilerAvatar aarondl

    aarondl/sqlboiler

    6,989Vezi pe GitHub↗

    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

    Generates dedicated getter methods and mapping logic based on database foreign key constraints to navigate table associations.

    Godatabasegogolang
    Vezi pe GitHub↗6,989
  • jooq/jooqAvatar jOOQ

    jOOQ/jOOQ

    6,666Vezi pe GitHub↗

    jOOQ is a type-safe SQL query builder for Java that generates code from live database schemas, enabling compile-time validation of SQL syntax and data types. Its core identity is built around a fluent DSL that mirrors SQL structure, a code generator that maps tables, views, and routines to Java objects, and a multi-dialect engine that translates the same DSL into vendor-specific SQL for over 30 databases. The project also includes a SQL parser and transformer for refactoring or dialect conversion, reactive stream integration for non-blocking query execution, and a JDBC proxy diagnostics tool f

    Compares primary and foreign key columns through generated embeddable records to prevent mismatched key usage.

    Javacode-generatordatabasedb2
    Vezi pe GitHub↗6,666
  • codeigniter4/codeigniter4Avatar codeigniter4

    codeigniter4/CodeIgniter4

    5,924Vezi pe GitHub↗

    CodeIgniter is a PHP web framework built on the Model-View-Controller pattern, designed for building full-stack web applications. It provides a lightweight toolkit with minimal configuration, organizing application logic into controllers, models, and views for clean separation of concerns. The framework includes a fluent query builder for constructing SQL statements programmatically, PSR-4 autoloading with namespace mapping, and a service-based dependency injection container for managing shared class instances. The framework distinguishes itself through its comprehensive set of built-in tools

    Provides a forge method for dropping foreign key constraints from tables.

    PHPcodeignitercodeigniter4framework-php
    Vezi pe GitHub↗5,924
  • tortoise/tortoise-ormAvatar tortoise

    tortoise/tortoise-orm

    5,582Vezi pe GitHub↗

    Tortoise ORM is an asynchronous object-relational mapper for Python that mirrors Django's model and queryset API while running on asyncio. It defines database tables as Python classes with typed fields and supports foreign key, many-to-many, and one-to-one relations, providing a chainable query API for filtering, annotating, grouping, and prefetching related objects without blocking the event loop. The ORM includes a built-in migration engine that detects model changes, generates migration files, and applies or reverts schema changes through a command-line tool. It connects to PostgreSQL, MyS

    Defines foreign key fields to link models, enabling related queries and prefetching of associated records.

    Pythonasyncasynciomysql
    Vezi pe GitHub↗5,582
  • youssefhosni/data-science-interview-questions-answersAvatar youssefHosni

    youssefHosni/Data-Science-Interview-Questions-Answers

    5,497Vezi pe GitHub↗

    This repository is a curated study resource of interview questions and answers for data science roles. It covers the core domains of machine learning, statistics, Python programming, SQL databases, deep learning, and algorithmic problem solving. The content is organized as static Markdown files with a structured question-and-answer format, making it easy to read and navigate without any server-side processing. The material distinguishes itself by pairing each question with a detailed explanation and often a code example, covering both conceptual knowledge and practical application. Topics ran

    Explains primary, foreign, and unique key constraints and compares temporary tables with common table expressions.

    data-sciencedeep-learninginterview-questions
    Vezi pe GitHub↗5,497
  • digitallyinduced/ihpAvatar digitallyinduced

    digitallyinduced/ihp

    5,294Vezi pe GitHub↗

    ihp este un framework web type-safe și un orchestrator de aplicații full-stack conceput pentru PostgreSQL. Funcționează ca un framework de randare pe partea de server și un ORM type-safe care generează automat tipuri de înregistrări din scheme SQL pentru a asigura validarea interogărilor la momentul compilării. Platforma se distinge prin verificarea rutelor, a interogărilor de bază de date și a template-urilor la compilare pentru a preveni erorile la runtime. Implementează interfețe web în timp real folosind WebSockets pentru sincronizarea instantanee a datelor și utilizează hypermedia condusă de server pentru patch-uri parțiale de DOM. Framework-ul acoperă o gamă largă de capabilități integrate, inclusiv gestionarea identității utilizatorilor cu suport pentru passkey și OAuth, un strat complet de stocare a datelor cu migrări automate și un sistem cuprinzător de randare UI cu template-uri HTML type-safe. Oferă, de asemenea, instrumente încorporate pentru dezvoltarea de API-uri JSON, execuția asincronă a sarcinilor de fundal și integrare financiară pentru gateway-uri de plată. Mediile de producție sunt gestionate prin deployment declarativ NixOS pentru infrastructură reproductibilă.

    Allows configuration of database-level delete behaviors to ensure referential integrity and automatic cleanup of related records.

    Haskellframeworkhacktoberfesthaskell
    Vezi pe GitHub↗5,294
  • mathesar-foundation/mathesarAvatar mathesar-foundation

    mathesar-foundation/mathesar

    5,012Vezi pe GitHub↗

    Mathesar is a no-code database manager and PostgreSQL GUI that provides a visual interface for managing relational database structures and records. It functions as a low-code data platform for administering schemas, tables, and relationships without the need to write manual SQL commands. The platform allows for the creation of shareable forms to collect data and the management of file attachments linked directly to database records. It includes a PostgreSQL administration tool for controlling database roles, user permissions, and data validation rules. The system covers relational data model

    Enforces referential integrity by managing foreign key constraints between relational database tables.

    Svelteairtable-alternativeautomatic-apidatabase-access
    Vezi pe GitHub↗5,012
  • goravel/goravelAvatar goravel

    goravel/goravel

    4,749Vezi pe GitHub↗

    Goravel este un scaffold de dezvoltare complet și un framework pentru construirea de aplicații web, API-uri REST și servicii gRPC folosind limbajul de programare Go. Implementează o arhitectură model-view-controller și oferă un set de instrumente cuprinzător pentru servere și clienți de tip remote procedure call (RPC) de înaltă performanță. Framework-ul se distinge prin ecosistemul său integrat extins, care include un ORM (object-relational mapper) fluent pentru gestionarea bazelor de date și un toolkit CLI dedicat pentru automatizarea administrativă și scaffolding-ul proiectelor. Dispune de o abstractizare a serviciilor bazată pe drivere, care permite dezvoltatorilor să schimbe backend-urile de stocare, cache și sesiune fără a altera logica aplicației. Platforma acoperă o suprafață largă de capabilități pentru aplicații, inclusiv procesarea asincronă a sarcinilor cu cozi distribuite, gestionarea securizată a identității prin autentificare bazată pe token-uri și un strat robust de securitate cu criptare și control al accesului. Oferă, de asemenea, instrumente pentru localizarea conținutului, randarea de template-uri și o infrastructură de testare automatizată cu dependency mocking.

    Supports the definition of primary keys, unique indexes, and foreign keys to enforce data integrity.

    Goapiframeworkgo
    Vezi pe GitHub↗4,749
  • supabase/supabase-jsAvatar supabase

    supabase/supabase-js

    4,483Vezi pe GitHub↗

    supabase-js este o bibliotecă client cuprinzătoare concepută pentru a integra aplicațiile frontend cu un backend-as-a-service găzduit. Oferă o interfață unificată pentru interacțiunea cu o bază de date PostgreSQL, sisteme de gestionare a identității, stocare de obiecte în cloud și sincronizarea datelor în timp real. Biblioteca dispune de un design client izomorf care operează atât în medii de browser, cât și de server. Se distinge printr-o abordare type-safe, utilizând TypeScript pentru a mapa schemele bazei de date direct la definițiile client-side, și utilizează un API bazat pe PostgREST pentru a traduce apelurile JavaScript în cereri RESTful. Clientul acoperă o gamă largă de capabilități, inclusiv autentificarea utilizatorilor prin OAuth, OIDC și passkeys, precum și gestionarea sesiunilor folosind token-uri semnate. Gestionează date binare la scară largă printr-o interfață de stocare compatibilă cu S3 și permite actualizări live ale aplicației prin abonamente bazate pe WebSocket pentru schimbările bazei de date și sincronizarea prezenței. Funcționalitatea suplimentară include invocarea de funcții serverless edge și efectuarea de căutări de similaritate folosind vector embeddings.

    Implements foreign key constraints and cascade rules to maintain parent-child data integrity.

    TypeScriptclient-librarydatabaseisomorphic
    Vezi pe GitHub↗4,483
  • datlechin/tableproAvatar datlechin

    datlechin/TablePro

    4,471Vezi pe GitHub↗

    TablePro is a cross-platform database management client designed for browsing, querying, and administering both SQL and NoSQL databases. It functions as a unified workspace that integrates a code-centric SQL editor with schema visualization tools, allowing developers to manage complex data models and execute queries across diverse database engines. The application distinguishes itself through an agentic AI integration layer that connects language models directly to database tools, enabling automated query generation, optimization, and error fixing with configurable approval gates. It features

    Configures referential relationships between tables including composite keys and cross-schema references.

    Swift
    Vezi pe GitHub↗4,471
  • graphql-python/graphene-djangoAvatar graphql-python

    graphql-python/graphene-django

    4,390Vezi pe GitHub↗

    Graphene-Django este un framework de integrare GraphQL și un mapper de schemă utilizat pentru a construi API-uri tipizate pentru aplicații Django. Funcționează ca un strat API de bază de date care transformă câmpurile și relațiile modelelor Django într-o schemă graf, permițând clienților să solicite date specifice într-un singur apel. Proiectul implementează specificația Relay, oferind instrumente pentru identificarea globală a obiectelor și paginare standardizată bazată pe conexiuni pentru a gestiona seturi mari de date. Se distinge prin maparea modelelor de bază de date, formularelor și serializatoarelor direct în tipuri de obiecte și mutații GraphQL. Framework-ul acoperă o gamă largă de capabilități, inclusiv controlul accesului la nivel de câmp, interceptarea cererilor bazată pe middleware și gestionarea operațiunilor în timp real prin rutare WebSocket. Include, de asemenea, utilitare pentru inspecția performanței SQL și wrapping-ul tranzacțiilor de mutație pentru a asigura integritatea datelor în timpul actualizărilor. Un client de test specializat este furnizat pentru a verifica răspunsurile API și a executa query-uri către endpoint.

    Maps foreign keys between database entities to enable nested data retrieval through a graph schema.

    Python
    Vezi pe GitHub↗4,390
  • k1low/tblsAvatar k1LoW

    k1LoW/tbls

    4,254Vezi pe GitHub↗

    tbls este un utilitar de linie de comandă bazat pe Go utilizat pentru documentarea, analizarea și linting-ul schemelor de baze de date relaționale. Acesta funcționează ca un instrument de documentare care generează rapoarte structurate și diagrame entitate-relație în formate Markdown, JSON sau Excel, precum și un instrument de diff pentru scheme pentru identificarea discrepanțelor dintre o bază de date live și documentația sa. Proiectul permite augmentarea schemei și definirea relațiilor virtuale prin fișiere de configurare externe, permițând suprascrieri de metadate și conexiuni între tabele fără a necesita migrarea bazei de date sau constrângeri native. De asemenea, suportă organizarea tabelelor în puncte de vedere bazate pe domeniu pentru a crea perspective curatoriate ale schemei generale. Capabilitățile suplimentare includ capacitatea de a valida structurile bazei de date în raport cu reguli predefinite printr-un linter SQL și măsurarea acoperirii documentației pentru a determina procentul de tabele și coloane descrise. Sistemul utilizează o interfață de driver bazată pe JSON pentru a integra executabile externe pentru suportul diverselor tipuri de baze de date și utilizează șabloane personalizabile pentru generarea documentelor.

    Specifies table relationships and foreign key connections via configuration for databases lacking native constraints.

    Go
    Vezi pe GitHub↗4,254
  • cq-panda/vue.netcoreAvatar cq-panda

    cq-panda/Vue.NetCore

    4,227Vezi pe GitHub↗

    Vue.NetCore este un instrument de scaffolding full-stack care generează automat cod frontend și backend folosind .NET Core și Vue.js pe baza schemelor de baze de date. Funcționează ca un generator de boilerplate CRUD și orchestrator de baze de date care mapează entitățile în logica de business pentru a crea interfețe administrative și endpoint-uri API. Proiectul oferă un scaffold UI multi-platformă, producând cod compatibil pentru web, iOS, Android și mini-programe WeChat. Utilizează un framework web TypeScript cu Vite și folosește SqlSugar pentru a automatiza maparea entităților bazei de date. Sistemul acoperă automatizarea CRUD enterprise, inclusiv generarea de formulare bazate pe date, interfețe de interogare de căutare avansată și relații de tabel master-detail. Include, de asemenea, capabilități pentru dezvoltarea automată a API-urilor și interfețe de import de date Excel.

    Automates the generation of code for one-to-one and one-to-many table relationships including data binding.

    C#axioscsharpdapper
    Vezi pe GitHub↗4,227
  • go-gorp/gorpAvatar go-gorp

    go-gorp/gorp

    3,751Vezi pe GitHub↗

    Gorp is a lightweight object-relational mapper for Go that binds structs to relational database tables. It functions as a relational data mapper and SQL dialect abstraction layer, automating the translation between application data and relational rows. The project provides a translation layer that generates vendor-specific SQL for PostgreSQL, MySQL, SQLite, Oracle, and SQL Server. It distinguishes itself by implementing optimistic locking via version columns to prevent concurrent update conflicts and providing a database schema generator to create tables and indexes from object definitions.

    Specifies primary keys and multi-column uniqueness constraints for relational tables.

    Go
    Vezi pe GitHub↗3,751
  • jorgerojas26/lazysqlAvatar jorgerojas26

    jorgerojas26/lazysql

    3,481Vezi pe GitHub↗

    LazySQL is a terminal user interface database manager and SQL client. It functions as a query runner and connection manager for interacting with SQL databases from the command line. The project features a read-only connection mode that blocks mutation commands to prevent accidental data loss. It supports automated pre-connection tasks, including the execution of shell commands and the establishment of SSH tunnels, and allows for both global and project-specific configuration. The interface provides a tree-based schema browser for navigating tables, a dedicated SQL query editor with tabular r

    Enables jumping from a cell value to its referenced record in another table automatically.

    Go
    Vezi pe GitHub↗3,481
  • simolus3/driftAvatar simolus3

    simolus3/drift

    3,231Vezi pe GitHub↗

    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

    Enforces parent-child integrity through relational dependencies and configurable update/delete behaviors.

    Dartdartdart-build-systemflutter
    Vezi pe GitHub↗3,231
Înapoi12Înainte
  1. Home
  2. Data & Databases
  3. Foreign Key Constraints

Explorează sub-etichetele

  • Cascading Action ManagersConfiguring auto-incrementing sequences and enforcing foreign key relationships with cascading actions. **Distinct from Foreign Key Constraints:** Distinct from general Foreign Key Constraints: adds sequence management and cascading action configuration to foreign key enforcement.
  • Composite Foreign Key MappingMapping of associations that rely on multiple columns to establish a foreign key relationship. **Distinct from Foreign Key Constraints:** Distinct from Foreign Key Constraints: focuses on the mapping of multiple columns as a single identifier reference in the ORM.
  • Constraint OmissionOmits foreign key constraints from generated database migrations so tables can be created independently. **Distinct from Foreign Key Constraints:** Distinct from Foreign Key Constraints: focuses specifically on skipping foreign key generation to avoid dependency issues during table creation.
  • Constraint SequencingGenerates foreign key constraints in a separate migration file ordered last to ensure referenced tables exist first. **Distinct from Foreign Key Constraints:** Distinct from Foreign Key Constraints: focuses on ordering and deferring foreign key creation into subsequent migration files.
  • Database Key Constraints and Temporary Storage1 sub-tagExplains primary, foreign, and unique key constraints and compares temporary tables with common table expressions. **Distinct from Foreign Key Constraints:** Distinct from Foreign Key Constraints: covers a broader set of key constraints and temporary storage concepts rather than just foreign keys.
  • Foreign Key Metadata ReadersRetrieves structural details about foreign key constraints, including referenced tables and columns, from a live database. **Distinct from Foreign Key Constraints:** Distinct from Foreign Key Constraints: focuses on reading metadata about existing foreign keys rather than defining or enforcing them.
  • Foreign Key Removals1 sub-tagOperations for removing foreign key constraints from database tables. **Distinct from Foreign Key Constraints:** Distinct from Foreign Key Constraints: focuses on removing existing foreign keys, not defining or enforcing them.
  • Integrity ConstraintsDefinition of primary, unique, and foreign key constraints to enforce data rules. **Distinct from Foreign Key Constraints:** Broadens the focus from just foreign keys to all relational integrity constraints including primary and unique keys.
  • Ordering SequencesSorts database table creation and constraint generation into separate sequences to satisfy relational dependencies. **Distinct from Foreign Key Constraints:** Distinct from Foreign Key Constraints: focuses specifically on sequencing statement order for dependency satisfaction rather than basic relationship mapping.
  • Recursive Dependency CollectionRecursive traversal of foreign key relationships to collect all dependent records. **Distinct from Foreign Key Constraints:** Distinct from Foreign Key Constraints: focuses on the active traversal to identify dependencies rather than the enforcement of the constraint
  • Relation NavigatorsUI tools that allow jumping between related records across tables using foreign key references. **Distinct from Foreign Key Constraints:** Distinct from Foreign Key Constraints by focusing on the user's ability to navigate between records rather than the database's enforcement of integrity.
  • Relationship Automation1 sub-tagAutomates the creation of constraints and the loading of related entities. **Distinct from Foreign Key Constraints:** Distinct from Foreign Key Constraints as it focuses on the automation of generation and loading rather than just the constraint enforcement.
  • Relationship MappingAutomatic generation of code to navigate table associations based on foreign key constraints. **Distinct from Foreign Key Constraints:** Focuses on the ORM mapping and getter generation for navigation, not the database-level enforcement of constraints.
  • Sequence and Cascading Action ManagersConfigures auto-incrementing sequences and enforces foreign key relationships with cascading actions. **Distinct from Foreign Key Constraints:** Distinct from general Foreign Key Constraints: adds sequence management and cascading action configuration to foreign key enforcement.
  • Type-Safe Key ComparisonsCompares primary and foreign key columns through generated embeddable records, preventing mismatched key usage in queries. **Distinct from Foreign Key Constraints:** Distinct from Foreign Key Constraints: provides compile-time type safety for key comparisons rather than runtime constraint enforcement.
  • Virtual Relationship MappingThe definition of logical relationships between tables via configuration for databases without native constraints. **Distinct from Foreign Key Constraints:** Focuses on the simulation of relationships for documentation/analysis rather than DB-enforced integrity.