awesome-repositories.com
博客
awesome-repositories.com

通过 AI 驱动的搜索,发现最优秀的开源仓库。

探索精选搜索开源替代品自托管软件博客网站地图
项目关于排名机制媒体报道MCP 服务器
法律隐私政策服务条款
© 2026 Bringes Technology SRL·VAT RO45896025·hello@awesome-repositories.com
·

21 个仓库

Awesome GitHub RepositoriesQuery Scopes

Reusable query constraints encapsulated within model definitions to standardize data filtering.

Explore 21 awesome GitHub repositories matching data & databases · Query Scopes. Refine with filters or upvote what's useful.

Awesome Query Scopes GitHub Repositories

用 AI 发现最棒的仓库。我们将通过 AI 为您搜索最匹配的仓库。
  • laravel/laravellaravel 的头像

    laravel/laravel

    84,489在 GitHub 上查看↗

    Laravel is a comprehensive full-stack web framework designed for building scalable server-side applications. It provides an integrated development environment that centers on an object-relational mapper for database abstraction, a robust routing system, and a sophisticated service container for dependency injection. The framework is built to handle complex application requirements through a modular architecture that emphasizes convention over configuration. What distinguishes Laravel is its deep integration of background processing and event-driven communication. It features a task queue orch

    Encapsulates reusable query constraints within models to standardize filtering logic across the application.

    Bladeframeworklaravelphp
    在 GitHub 上查看↗84,489
  • filamentphp/filamentfilamentphp 的头像

    filamentphp/filament

    31,215在 GitHub 上查看↗

    Filament is a full-stack framework for building administrative panels and management interfaces within the Laravel ecosystem. It provides a declarative, component-based architecture that allows developers to construct complex, data-driven applications using server-side configuration objects rather than manual HTML. By inspecting database model structures and relationships, the framework automates the generation of CRUD interfaces, forms, and data tables, significantly reducing boilerplate code. The project distinguishes itself through a highly modular and extensible design that supports custo

    Filters database queries to ensure users only interact with records they are permitted to view or modify.

    PHPadminalpine-jsbuilder
    在 GitHub 上查看↗31,215
  • pubkey/rxdbpubkey 的头像

    pubkey/rxdb

    23,048在 GitHub 上查看↗

    This project is a reactive, offline-first NoSQL database engine designed for JavaScript applications. It provides a robust framework for managing application state by synchronizing data across browsers, mobile devices, and server-side runtimes. By treating local storage as the primary source of truth, it enables applications to remain functional without network connectivity, automatically reconciling changes with remote backends once a connection is restored. The database distinguishes itself through a modular architecture that supports cross-environment synchronization and high-performance d

    Tag documents with scope identifiers during synchronization to enable targeted querying, selective data removal, and efficient cleanup of local storage.

    TypeScriptangularbrowser-databasecouchdb
    在 GitHub 上查看↗23,048
  • diesel-rs/dieseldiesel-rs 的头像

    diesel-rs/diesel

    14,021在 GitHub 上查看↗

    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

    Encapsulates common filtering and expression logic into reusable query components.

    Rustmysqlormpostgresql
    在 GitHub 上查看↗14,021
  • rayon-rs/rayonrayon-rs 的头像

    rayon-rs/rayon

    13,071在 GitHub 上查看↗

    Rayon is a data parallelism library for Rust that provides a framework for converting sequential computations into parallel operations. It enables the transformation of standard data structures and loops into parallel iterators, allowing workloads to be distributed across multiple processor cores. By utilizing a work-stealing scheduler, the library dynamically balances tasks to maximize throughput and minimize execution time. The library distinguishes itself through its focus on safe, scoped task synchronization, which ensures that all spawned operations complete before a scope exits to preve

    Establishes controlled execution environments where all spawned operations must finish before the scope exits.

    Rust
    在 GitHub 上查看↗13,071
  • alexeymezenin/laravel-best-practicesalexeymezenin 的头像

    alexeymezenin/laravel-best-practices

    12,299在 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

    Defines reusable query constraints within models to eliminate logic duplication across retrieval methods.

    在 GitHub 上查看↗12,299
  • varvet/punditvarvet 的头像

    varvet/pundit

    8,509在 GitHub 上查看↗

    Pundit is an authorization framework for Ruby applications that enforces permissions through plain Ruby policy objects. It maps controller actions to policy methods, automatically inferring which policy class and query method to call based on the action name, and raises a custom exception when access is denied. The framework distinguishes itself by using plain Ruby classes without external DSLs or configuration files, and by providing a development-time verification guard that raises an error if a controller action runs without an authorization call. It also supports namespace-based policy or

    Restricts database queries to authorized records using policy-defined scope classes.

    Rubyruby
    在 GitHub 上查看↗8,509
  • elabs/punditelabs 的头像

    elabs/pundit

    8,509在 GitHub 上查看↗

    Pundit is a Ruby authorization framework that implements policy-based access control. It maps domain models to dedicated logic classes that determine whether a user is permitted to perform specific actions on data objects. The framework utilizes plain Ruby objects to decouple authorization logic from the model. It includes mechanisms for data query scoping to filter record collections based on user permissions, as well as attribute-level permission control to restrict which specific model fields a user can modify. The system provides tools for authorization coverage verification to ensure se

    Provides specialized scope classes to filter database record collections based on the requesting user's permissions.

    Ruby
    在 GitHub 上查看↗8,509
  • sandermertens/flecsSanderMertens 的头像

    SanderMertens/flecs

    8,045在 GitHub 上查看↗

    Flecs is a high-performance entity component system framework and data-oriented programming library. It serves as a simulation engine core and game engine architecture tool, decoupling state from behavior by separating entities, components, and systems. The framework features a runtime reflection layer for dynamic data inspection and a built-in scripting system for defining entity behavior without recompilation. It also includes a network interface and REST API for remote simulation administration and state querying. The library covers a broad surface of simulation capabilities, including ar

    Supports applying operators like negation to combined query terms to refine entity filtering.

    Cc99cpp11cpp14
    在 GitHub 上查看↗8,045
  • railsadminteam/rails_adminrailsadminteam 的头像

    railsadminteam/rails_admin

    7,957在 GitHub 上查看↗

    Rails Admin is a web-based management dashboard and Active Record model manager for Ruby on Rails applications. It provides a graphical user interface for creating, reading, updating, and deleting database records, serving as a secure back office for database content management and administrative data auditing. The project distinguishes itself through a reflection-based schema mapping system that automatically generates CRUD interfaces from database metadata. It includes specialized tools for data versioning and change auditing to track administrative activity, as well as utilities for import

    Restricts the records visible in the admin interface by applying custom query scopes to the models.

    Ruby
    在 GitHub 上查看↗7,957
  • spatie/laravel-activitylogspatie 的头像

    spatie/laravel-activitylog

    5,850在 GitHub 上查看↗

    This is a Laravel package that provides a database audit trail by automatically logging user actions and Eloquent model events. It records create, update, and delete operations on models into a dedicated database table, creating a searchable record of changes for tracking and review. The package distinguishes itself through extensive configuration and customization options. You can control which model attributes are logged, specify which events trigger logging, customize activity descriptions, and modify activity records before they are saved. It supports logging changes to pivot models, trac

    Offers pre-built query scopes to filter activity logs by subject model, causing user, or event type for efficient retrieval.

    PHP
    在 GitHub 上查看↗5,850
  • aasm/aasmaasm 的头像

    aasm/aasm

    5,219在 GitHub 上查看↗

    This library provides a framework for defining finite state machines within Ruby classes to manage complex object lifecycles. It functions as a declarative workflow engine, allowing developers to model object states, events, and transitions through a readable domain-specific language. By integrating directly with database persistence layers, the framework ensures that state changes are synchronized with storage records while maintaining data integrity through transaction management and row locking. The library distinguishes itself by enforcing strict business rules through conditional transit

    Automatically generates reusable database query constraints for filtering objects based on their current lifecycle state.

    Ruby
    在 GitHub 上查看↗5,219
  • effector/effectoreffector 的头像

    effector/effector

    4,837在 GitHub 上查看↗

    Effector is a reactive state management library designed for building complex, event-driven applications. It functions as a data flow engine that models application logic as a directed acyclic graph, ensuring that state updates propagate automatically through interconnected nodes. By utilizing atomic state updates and declarative unit composition, the library maintains data consistency and provides a predictable execution model for managing application state. The project distinguishes itself through its framework-agnostic architecture, which decouples business logic from user interface implem

    Injects scope validation into user interface hooks to ensure state updates occur within the correct execution context.

    TypeScriptbusiness-logiceffectorevent-driven
    在 GitHub 上查看↗4,837
  • zerobias/effectorzerobias 的头像

    zerobias/effector

    4,837在 GitHub 上查看↗

    Effector is a reactive state management library and data flow orchestrator designed for building complex, event-driven applications. It models application logic as a directed acyclic graph, where state updates and asynchronous side effects propagate automatically through declarative pipelines. By decoupling business logic from user interface layers, it allows developers to maintain state in independent containers that communicate via standard interfaces, ensuring the system remains framework-agnostic. The library distinguishes itself through its robust support for isolated execution scopes, w

    Automatically wraps state hooks to ensure events are executed within the correct context and prevent errors in non-scoped environments.

    TypeScript
    在 GitHub 上查看↗4,837
  • goravel/goravelgoravel 的头像

    goravel/goravel

    4,749在 GitHub 上查看↗

    Goravel 是一个功能齐全的开发脚手架和框架,用于使用 Go 编程语言构建 Web 应用、REST API 和 gRPC 服务。它实现了模型-视图-控制器(MVC)架构,并为高性能远程过程调用服务器和客户端提供了全面的工具包。 该框架的独特之处在于其广泛的集成生态系统,包括用于数据库管理的流畅对象关系映射器(ORM),以及用于管理自动化和项目脚手架的专用命令行界面工具包。它具有基于驱动的服务抽象,允许开发者在不更改应用逻辑的情况下切换存储、缓存和会话后端。 该平台涵盖了广泛的应用功能,包括带有分布式队列的异步任务处理、通过基于令牌的身份验证进行的安全身份管理,以及具有加密和访问控制的稳健安全层。它还提供内容本地化、模板渲染以及带有依赖模拟的自动化测试基础设施工具。

    Allows defining reusable query constraints within models to standardize data filtering across all queries.

    Goapiframeworkgo
    在 GitHub 上查看↗4,749
  • zio/ziozio 的头像

    zio/zio

    4,347在 GitHub 上查看↗

    ZIO is a functional effect system for the JVM that models asynchronous and concurrent programs as pure, composable values with typed error handling and dependency injection. Its core identity is built on fiber-based concurrency, where lightweight, non-blocking fibers execute millions of concurrent tasks with structured lifecycle management, and a dual-channel error model that separates expected business failures from unexpected system defects at compile time. The system provides effect-typed dependency injection through a layer-based dependency graph, pull-based reactive stream processing with

    Executes channels within scopes to ensure finalizers run before channel closure.

    Scalaasynchronicityasynchronousasynchronous-programming
    在 GitHub 上查看↗4,347
  • jqhph/dcat-adminjqhph 的头像

    jqhph/dcat-admin

    4,022在 GitHub 上查看↗

    dcat-admin 是一个 Laravel 管理面板框架,用于快速构建数据驱动的管理界面。它作为一个 CRUD 生成器和后端脚手架工具,根据数据库表模式自动生成创建、读取、更新和删除界面。 该系统通过基于插件的扩展架构以及在单个安装中运行多个独立管理实例的能力脱颖而出。它提供了将外部 API 映射到表单和表格的专用工具,以及用于在解析和提交期间执行自定义逻辑的事件驱动表单生命周期。 该框架涵盖了广泛的功能领域,包括用于管理分层权限的基于角色的访问控制、一套包含内联编辑功能的综合数据管理网格,以及多步表单工作流。它还包括用于操作仪表板的数据可视化工具,以及各种用于分块大文件上传和富文本编辑的内容处理实用程序。 提供了命令行实用程序来自动化管理组件和操作类的生成。

    Defines common query constraints within model definitions that are exposed as selectable filtering options.

    PHPlaravellaravel-admin
    在 GitHub 上查看↗4,022
  • cviebrock/eloquent-sluggablecviebrock 的头像

    cviebrock/eloquent-sluggable

    3,993在 GitHub 上查看↗

    本项目是一个用于 Laravel Eloquent ORM 的别名 (slug) 生成和管理工具。它提供了一个可重用的 trait,增加了从模型属性创建唯一、URL 友好字符串的功能,允许使用人类可读的别名而不是主键来检索数据库记录。 该系统通过为单个模型实例维护单独的本地化别名来支持多语言 URL 管理。它通过自动冲突避免机制确保唯一性,该机制将数字后缀附加到重复字符串,并防止使用可能与系统路由路径重叠的保留字。 该工具包包括通过引擎覆盖和格式化规则进行自定义别名生成的功能,以及用于拦截或取消别名处理过程的事件驱动流水线。数据库解析通过专用的查询作用域和用于根据别名值检索模型的辅助方法来处理。

    Wraps database queries in dedicated scopes to retrieve model instances based on slug values.

    PHP
    在 GitHub 上查看↗3,993
  • nodejs/nannodejs 的头像

    nodejs/nan

    3,351在 GitHub 上查看↗

    This project is a compatibility layer and abstraction library for building native C++ addons for Node.js. It provides a consistent C++ API that allows a single codebase to compile against multiple versions of the V8 JavaScript engine by hiding version-specific differences behind macros and inline functions. The toolkit differentiates itself through specialized wrappers and managers, including a monadic wrapper for handles to avoid explicit null checks, a persistent reference manager for objects that must survive handle scope disposal, and a buffer abstraction API for version-compatible memory

    Manages the lifecycle of local V8 handles using escapable scopes to prevent memory leaks.

    C++nodenodejs
    在 GitHub 上查看↗3,351
  • palkan/action_policypalkan 的头像

    palkan/action_policy

    1,557在 GitHub 上查看↗

    Action Policy is a Ruby authorization framework designed to manage user access and permissions by encapsulating security logic into dedicated policy classes. It provides a structured system for defining access rules that evaluate user actions against specific application resources, ensuring that security logic remains decoupled from the primary application code. The framework distinguishes itself through its ability to handle complex authorization requirements across diverse interfaces, including web controllers and various API formats. It supports dynamic permission evaluation by utilizing a

    Uses policy-defined scope classes to automatically filter database queries to records the current user is permitted to see.

    Rubyauthorizationhacktoberfestrails
    在 GitHub 上查看↗1,557
上一个12下一个
  1. Home
  2. Data & Databases
  3. Database Query Builders
  4. Query Scopes

探索子标签

  • Activity LogOffers pre-built query scopes to filter activity logs by subject model, causing user, or event type for efficient retrieval. **Distinct from Query Scopes:** Distinct from Query Scopes: focuses on scopes specifically for filtering activity logs, not general query constraints.
  • Authorization Scope ClassesPolicy-defined scope classes that restrict database queries to records the current user is permitted to see. **Distinct from Query Scopes:** Distinct from Query Scopes: focuses on authorization-driven scope classes, not general reusable query constraints.
  • Synchronization Scopes1 个子标签Mechanisms for tagging and partitioning data to control synchronization and cleanup behavior. **Distinct from Query Scopes:** Distinct from Query Scopes: focuses on data lifecycle and synchronization partitioning rather than just query filtering.