1 个仓库
Using associative arrays to programmatically define SQL filters and data mappings.
Distinct from Array Construction Utilities: The candidates focus on general array data structures or construction utilities, not using arrays as a DSL for SQL query building.
Explore 1 awesome GitHub repository matching data & databases · Array-Driven Query Construction. Refine with filters or upvote what's useful.
Medoo 是一个轻量级的 PHP 数据库抽象层和 SQL 查询构建器。它作为一个最小化的数据库包装器,提供了一个统一的 API 来跨多个 SQL 引擎执行查询,将 PHP 方法调用转换为特定的数据库方言。 该项目支持多方言 SQL 接口,允许单个代码库与包括 MySQL、MariaDB、PostgreSQL、SQLite、MSSQL、Oracle 和 Sybase 在内的各种后端进行交互。它使用预处理语句参数化来防止注入攻击,同时保持构建复杂 SQL 语句的程序化方法。 该工具包涵盖了标准的数据操作,包括记录插入、更新、删除和查询。它还提供了用于聚合计算、原子事务管理以及用于复杂逻辑的原始 SQL 执行的功能。 包含用于查询执行检查的诊断工具,允许记录生成的 SQL 和连接信息以进行调试。
Provides a mechanism to define complex SQL queries and filters using PHP associative arrays.