4 个仓库
Generating the SQL string for a query without executing it, enabling inspection or reuse.
Distinct from Deferred Query Compilation: Distinct from Deferred Query Compilation: focuses on explicitly compiling a query to a string for inspection, not lazy execution.
Explore 4 awesome GitHub repositories matching data & databases · SQL String Compilations. Refine with filters or upvote what's useful.
This project is an educational implementation of a relational database engine written in C. It functions as a SQLite clone, demonstrating the internal mechanics of a database system through a C-based systems project that focuses on manual memory management and file I/O. The engine is distinguished by its use of a bytecode virtual machine, which executes database operations by compiling SQL statements into low-level instructions. It utilizes a B-tree database engine to organize records in a balanced tree structure, ensuring efficient insertion, search, and range scanning. The system covers co
Translates SQL text into a custom bytecode format for execution by a virtual machine.
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
Implements a custom query language that is compiled into optimized vendor-specific SQL.
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
Generates the SQL string for a query without executing it, allowing inspection or reuse.
Alembic 是一个用于 SQLAlchemy 的数据库模式版本控制系统和迁移工具。它通过版本化脚本管理数据库结构的增量更新,支持升级和降级,从而保持数据库与代码同步。 该系统利用有向无环图(DAG)进行迁移管理,支持非线性版本控制,包括跨多个根版本的分支和合并。它内置了自动模式差异对比工具,可将实时数据库模式与元数据对象进行比较,从而以编程方式生成迁移指令。 该工具提供事务性模式演进功能,确保更新的原子性并防止数据库部分损坏。其他功能包括将迁移指令转换为原始 SQL 字符串以进行审计,以及通过专用数据库表维护基于脚本的版本跟踪。
Translates high-level Python migration directives into raw SQL strings for auditing and manual execution.