awesome-repositories.com
Blog
MCP
awesome-repositories.com

Discover the best open-source repositories with AI-powered search.

ExploreCurated searchesOpen-source alternativesSelf-hosted softwareBlogSitemap
ProjectMCP serverAboutHow we rankPress
LegalPrivacyTerms
© 2026 Bringes Technology SRL·VAT RO45896025·hello@awesome-repositories.com
Masterminds avatar

Masterminds/squirrel

0
View on GitHub↗
7,949 stars·509 forks·Go·21 views

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 history

Star history chart for masterminds/squirrelStar history chart for masterminds/squirrel

How this analysis was created: This summary and feature list were written by an AI model that read the project's README and public documentation pages. Each feature links to the documentation it came from; stars, license and language come straight from the GitHub API. The model does not read the source code, and the analysis is refreshed when the project is re-analysed. Learn more on our About page.

AI search

Explore more awesome repositories

Describe what you need in plain English — the AI ranks thousands of curated open-source projects by relevance.

Start searching with AI

Frequently asked questions

What does masterminds/squirrel do?

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.

What are the main features of masterminds/squirrel?

The main features of masterminds/squirrel are: SQL Query Builders, Database Query Execution, Dynamic SQL Generators, Go Database Libraries, SQL Dialect Adapters, Fluent Interfaces, SQL Query Execution, Dialect Specification Frameworks.

What are some open-source alternatives to masterminds/squirrel?

Open-source alternatives to masterminds/squirrel include: 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…

Open-source alternatives to Squirrel

Similar open-source projects, ranked by how many features they share with Squirrel.
  • tobymao/sqlglottobymao avatar

    tobymao/sqlglot

    9,336View on 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
    View on GitHub↗9,336
  • kysely-org/kyselykysely-org avatar

    kysely-org/kysely

    13,969View on 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
    View on GitHub↗13,969
  • jooq/jooqjOOQ avatar

    jOOQ/jOOQ

    6,666View on 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
    View on GitHub↗6,666
  • seaql/sea-ormSeaQL avatar

    SeaQL/sea-orm

    9,410View on 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
    View on GitHub↗9,410
  • See all 30 alternatives to Squirrel→