awesome-repositories.com
Blog
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
ProiectDespreCum realizăm clasamentulPresăServer MCP
LegalConfidențialitateTermeni
© 2026 Bringes Technology SRL·VAT RO45896025·hello@awesome-repositories.com
·

8 repository-uri

Awesome GitHub RepositoriesEager Loading

Techniques for loading related entities in a single database request to prevent N+1 query problems.

Distinct from Query Performance Tuning: Specifically addresses eager loading to reduce query volume, whereas Query Performance Tuning is a broader category for general execution speed.

Explore 8 awesome GitHub repositories matching data & databases · Eager Loading. Refine with filters or upvote what's useful.

Awesome Eager Loading GitHub Repositories

Găsește cele mai bune repo-uri cu AI.Vom căuta cele mai potrivite repository-uri folosind AI.
  • alexeymezenin/laravel-best-practicesAvatar alexeymezenin

    alexeymezenin/laravel-best-practices

    12,299Vezi pe GitHub↗

    This project is a comprehensive guide to architectural standards and coding patterns for developing maintainable applications within the Laravel framework. It focuses on clean code standards, applying the single responsibility and DRY principles to ensure codebase predictability and consistency. The guide emphasizes decoupling components by moving business logic into service layers and shifting input validation into dedicated request classes to keep controllers lean. It advocates for the use of a service container and dependency injection to reduce class coupling and improve testability. The

    Provides guidelines on using eager loading to eliminate redundant database queries and improve application performance.

    Vezi pe GitHub↗12,299
  • 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

    Reduces N+1 query problems by automatically loading related entities in a single database request.

    PHPhacktoberfest
    Vezi pe GitHub↗10,172
  • vincit/objection.jsAvatar Vincit

    Vincit/objection.js

    7,343Vezi pe GitHub↗

    Objection.js is an object-relational mapper for Node.js that maps SQL database tables to classes and rows to model instances. It functions as a high-level abstraction layer built on top of the Knex.js query builder to provide structured model definitions and relational data mapping. The project distinguishes itself through its ability to manage complex object graphs, allowing for the persistence and eager-loading of deeply nested related data in single operations. It incorporates a data integrity layer that uses JSON schema validation to verify model instances before they are persisted to the

    Implements eager loading of related data graphs using joins or batch queries to eliminate N+1 query performance issues.

    JavaScript
    Vezi pe GitHub↗7,343
  • 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

    Implements batch-based eager loading to retrieve related records and prevent N+1 query performance issues.

    Godatabasegogolang
    Vezi pe GitHub↗6,989
  • bookshelf/bookshelfAvatar bookshelf

    bookshelf/bookshelf

    6,352Vezi pe GitHub↗

    Bookshelf is a JavaScript ORM for Node.js that provides a structured way to define and interact with database models. It centers on a model-driven approach where developers register models, define their relations, and manage data persistence through a consistent interface. The library distinguishes itself through its comprehensive handling of model relationships and data transformations. It supports defining one-to-one, one-to-many, many-to-many, and polymorphic associations, with the ability to eager load related models in a single query to avoid performance pitfalls. Bookshelf also automate

    Fetches related models in a single query to prevent N+1 query problems.

    JavaScript
    Vezi pe GitHub↗6,352
  • jeremyevans/sequelAvatar jeremyevans

    jeremyevans/sequel

    5,076Vezi pe GitHub↗

    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

    Implements eager loading to load all related records in a single query per association, avoiding N+1 issues.

    Ruby
    Vezi pe GitHub↗5,076
  • spatie/laravel-query-builderAvatar spatie

    spatie/laravel-query-builder

    4,453Vezi pe GitHub↗

    Acest proiect este un wrapper de query builder Eloquent și un parser de query-uri REST API pentru aplicații Laravel. Acesta traduce parametrii cererilor HTTP în interogări de bază de date pentru a oferi filtrare dinamică, sortare și încărcarea relațiilor pentru endpoint-urile API. Sistemul decuplează interfața API externă de stratul de stocare prin abstractizarea schemei bazată pe alias-uri, permițând numelor publice ale câmpurilor să fie mapate către coloane private ale bazei de date. Suportă includerea dinamică a relațiilor imbricate și a numărătorilor agregate, precum și execuția logicii programatice personalizate pentru filtre și sortare prin clase invokable și closure-uri. Suprafața de capabilități acoperă proiecția datelor prin selecția câmpurilor și ordonarea rezultatelor pe baza parametrilor cererii. Oferă, de asemenea, mecanisme pentru filtrarea bazată pe relații folosind dot-notation, integrarea cu scope-urile modelelor locale și controlul asupra vizibilității înregistrărilor soft-deleted.

    Dynamically injects eager loading constraints into the query builder based on requested relation identifiers.

    PHPapihacktoberfestlaravel
    Vezi pe GitHub↗4,453
  • dotnetcore/freesqlAvatar dotnetcore

    dotnetcore/FreeSql

    4,388Vezi pe GitHub↗

    FreeSql este un mapper obiect-relațional (ORM) .NET și un strat de acces la date care traduce codul orientat pe obiecte în SQL pentru mai mulți furnizori de baze de date relaționale. Funcționează ca un builder fluent de query-uri SQL și sincronizator de schemă de bază de date, permițând dezvoltatorilor să alinieze structurile tabelelor și indicilor bazei de date cu definițiile claselor de entități. Framework-ul este optimizat special pentru .NET Native AOT pentru a asigura amprente de memorie reduse și timpi de pornire mai rapizi. Include un manager de trafic al bazei de date pentru a distribui load-ul prin read-write splitting, sharding dinamic al tabelelor și izolare a datelor bazată pe chiriași (tenant). Capabilitățile largi includ ingestia de date de înaltă performanță folosind mecanisme de bulk copy specifice furnizorului, interogare avansată cu funcții de fereastră și CTE-uri recursive, și monitorizare bazată pe AOP pentru auditarea modificărilor de date. Sistemul oferă, de asemenea, instrumente de gestionare a schemei pentru migrări automate și utilitare de dezvoltare pentru generarea claselor de entități din metadatele bazei de date.

    Retrieves related entities in a single query to prevent N+1 performance issues.

    C#accessclickhousecodefirst
    Vezi pe GitHub↗4,388
  1. Home
  2. Data & Databases
  3. Query Performance Tuning
  4. Eager Loading

Explorează sub-etichetele

  • Custom Eager Loading StrategiesDefines custom logic for how associations are eagerly loaded for a group of objects. **Distinct from Eager Loading:** Distinct from Eager Loading: focuses on customizing the eager loading behavior with custom logic, not the general bulk-fetching technique.