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

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

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

Masterminds/squirrel

0
View on GitHub↗
7,949 星标·509 分支·Go·10 次浏览

Squirrel

Squirrel is a Go database library and SQL query builder that provides a programmatic interface for constructing and executing SQL statements. It enables the creation of queries using a fluent interface to avoid manual string concatenation.

The library functions as a SQL dialect generator, producing queries formatted for specific database engines by adjusting placeholders and syntax to match target requirements. This allows for the generation of SQL compatible with multiple different database environments.

Beyond query construction, the project covers the execution of generated statements against database connections. It provides a means to assemble type-safe queries that are maintained as structured representations before being rendered into raw SQL.

Features

  • SQL Query Builders - Provides a programmatic builder for constructing complex SQL queries without manual string concatenation.
  • Database Query Execution - Coordinates the process of building SQL queries and executing them via database drivers.
  • Dynamic SQL Generators - Generates dynamic SQL statements programmatically to avoid syntax errors and manual concatenation.
  • Go Database Libraries - Provides a comprehensive Go library for building and executing SQL queries.
  • SQL Dialect Adapters - Adapts query syntax and placeholder formats to ensure compatibility across different database engines.
  • Fluent Interfaces - Employs a fluent interface with method chaining to programmatically construct SQL statements.
  • SQL Query Execution - Executes generated SQL statements against database connections to retrieve results.
  • Dialect Specification Frameworks - Provides frameworks for mapping generic parameter markers to database-specific placeholders.
  • SQL Execution Interfaces - Wraps database driver interfaces to provide a unified execution method for generated queries.
  • Type-Safe - Provides a programmatic interface for assembling SQL queries that are more maintainable than raw strings.
  • Parameter Bindings - Implements deferred interpolation to separate SQL structure from arguments, preventing SQL injection.
  • Database Tools - Fluent SQL builder.
  • SQL Query Builders - Fluent SQL query builder.
  • Database Tools - Library for building dynamic SQL queries.

Star 历史

masterminds/squirrel 的 Star 历史图表masterminds/squirrel 的 Star 历史图表

AI 搜索

探索更多 awesome 仓库

用简单的语言描述您的需求 —— AI 将根据相关性为您从数千个精选开源项目中进行排序。

Start searching with AI

Squirrel 的开源替代方案

相似的开源项目,按与 Squirrel 的功能重合度排序。
  • tobymao/sqlglottobymao 的头像

    tobymao/sqlglot

    9,336在 GitHub 上查看↗

    sqlglot is a SQL parser and transpiler that represents queries as abstract syntax trees to enable structural analysis, modification, and semantic transformation. It functions as a dialect translator and query optimizer, converting SQL code between different database engines and simplifying syntax trees through rule-based normalization. The project provides a framework for defining custom SQL dialects by overriding tokenizers, parsers, and generators. It includes a lineage analyzer to track data flow from source tables through complex queries to identify the origin of specific columns. Additi

    Python
    在 GitHub 上查看↗9,336
  • kysely-org/kyselykysely-org 的头像

    kysely-org/kysely

    13,969在 GitHub 上查看↗

    Kysely is a TypeScript SQL query builder that provides a type-safe interface for constructing and executing database queries. It functions as a database layer that ensures schema compliance and prevents runtime errors by using a fluent interface and a programmable way to build complex SQL statements. The project features a type-safe database layer capable of inferring return types and aliases from SQL selections and joins. It also includes a SQL migration manager to track and apply schema changes across different environments to keep database versions synchronized. The toolkit covers relatio

    TypeScript
    在 GitHub 上查看↗13,969
  • jooq/jooqjOOQ 的头像

    jOOQ/jOOQ

    6,666在 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

    Javacode-generatordatabasedb2
    在 GitHub 上查看↗6,666
  • seaql/sea-ormSeaQL 的头像

    SeaQL/sea-orm

    9,410在 GitHub 上查看↗

    Sea-ORM is an asynchronous SQL object-relational mapper and database toolkit for mapping relational tables to strongly typed objects. It provides a relational database mapper for performing CRUD operations across MySQL, PostgreSQL, and SQLite, and includes a programmatic dynamic query builder for constructing complex SQL statements. The project distinguishes itself by providing a GraphQL schema generator that transforms database entities into typed schemas with built-in pagination and filters. It also features a dedicated database migration tool for defining and applying versioned schema chan

    Rustdatabasehacktoberfestloco
    在 GitHub 上查看↗9,410
查看 Squirrel 的所有 30 个替代方案→

常见问题解答

masterminds/squirrel 是做什么的?

Squirrel is a Go database library and SQL query builder that provides a programmatic interface for constructing and executing SQL statements. It enables the creation of queries using a fluent interface to avoid manual string concatenation.

masterminds/squirrel 的主要功能有哪些?

masterminds/squirrel 的主要功能包括:SQL Query Builders, Database Query Execution, Dynamic SQL Generators, Go Database Libraries, SQL Dialect Adapters, Fluent Interfaces, SQL Query Execution, Dialect Specification Frameworks。

masterminds/squirrel 有哪些开源替代品?

masterminds/squirrel 的开源替代品包括: tobymao/sqlglot — sqlglot is a SQL parser and transpiler that represents queries as abstract syntax trees to enable structural analysis,… kysely-org/kysely — Kysely is a TypeScript SQL query builder that provides a type-safe interface for constructing and executing database… jooq/jooq — jOOQ is a type-safe SQL query builder for Java that generates code from live database schemas, enabling compile-time… seaql/sea-orm — Sea-ORM is an asynchronous SQL object-relational mapper and database toolkit for mapping relational tables to strongly… uptrace/bun — Bun is a type-safe object relational mapper for Go that prioritizes SQL-first query construction and result mapping.… sqlalchemy/sqlalchemy — SQLAlchemy is a comprehensive Python SQL toolkit and object-relational mapper that provides a full suite of tools for…