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

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

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

launchbadge/sqlx

0
View on GitHub↗
16,630 星标·1,560 分支·Rust·apache-2.0·6 次浏览

Sqlx

This toolkit provides an asynchronous interface for interacting with relational databases, offering a unified driver-agnostic layer for managing connection pools and executing transactions. It is designed to integrate with asynchronous runtimes, enabling non-blocking database operations while maintaining secure, encrypted communication between the application and the database server.

The project distinguishes itself through its compile-time validation capabilities, which use procedural macros to inspect SQL syntax and parameter types against a live database schema during the build process. This approach ensures that queries are verified for correctness before the application is deployed. Additionally, it features automated type mapping that transforms database rows into strongly typed structures, reducing the need for manual data conversion.

Beyond its core validation and mapping features, the toolkit supports both dynamic and prepared SQL execution, with transparent caching of execution plans to optimize performance. It also includes a built-in migration manager that allows developers to bundle versioned schema scripts directly into the application binary, ensuring consistent database state management across different deployment environments.

Features

  • Asynchronous SQL Toolkits - Provides a comprehensive asynchronous SQL toolkit featuring compile-time validation and type-safe row mapping.
  • Asynchronous Database Drivers - Provides asynchronous database drivers with built-in connection pooling and transaction management.
  • SQL Database Connectors - Offers a library for executing SQL queries with compile-time verification and automated type mapping.
  • Compile-Time Validators - Checks SQL syntax and parameter types against the database schema during compilation.
  • SQL Query Validators - Verifies SQL syntax and parameter types against a live database schema during compilation to prevent runtime errors.
  • SQL Schema Validators - Verifies SQL syntax and parameter types against live database schemas during compilation to prevent runtime errors.
  • Connection Pooling - Maintains persistent pools of database connections to optimize resource usage and improve application performance.
  • Database Query Execution - Verifies SQL statements against a live database schema during compilation to ensure correctness.
  • Database Abstraction Layers - Provides a unified API for interacting with multiple relational database engines and dialects.
  • Database Schema Migrations - Bundles versioned schema migration scripts directly into the application binary for consistent database state management.
  • Database Connections - Provides asynchronous connection pooling to manage and optimize persistent database connections across concurrent application tasks.
  • Database Migration Management - Manages and executes versioned schema migration scripts embedded directly within the application binary.
  • Type-Safe Database Clients - Ensures compile-time safety by mapping database results to strongly typed language structures.
  • Database Row Mappers - Automatically transforms raw database rows into strongly typed language structures using trait-based reflection.
  • Data Processing - Async SQL toolkit for Rust with compile-time checked queries.
  • Database Drivers - Offers a unified abstraction layer to interact with multiple relational database engines through consistent driver interfaces.
  • Database Migrations - Supports versioning and applying schema changes to database structures through embedded scripts.
  • Asynchronous Bridge Runtimes - Integrates with asynchronous runtimes to enable non-blocking database operations.
  • Prepared Statement Engines - Caches database-side execution plans to reduce parsing overhead and improve query performance.
  • SQL Query Builders - Constructs complex SQL statements programmatically while maintaining safety through automatic parameter binding.
  • Secure Connection Handlers - Implements secure connection handling with configurable security backends for safe database communication.
  • Transport Layer Security - Supports encrypted database communication using transport layer security to protect sensitive data in transit.

Star 历史

launchbadge/sqlx 的 Star 历史图表launchbadge/sqlx 的 Star 历史图表

AI 搜索

探索更多 awesome 仓库

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

Start searching with AI

Sqlx 的开源替代方案

相似的开源项目,按与 Sqlx 的功能重合度排序。
  • 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
  • geektutu/7days-golanggeektutu 的头像

    geektutu/7days-golang

    16,812在 GitHub 上查看↗

    This project is an educational framework designed to teach the fundamentals of building core distributed systems and web services from scratch in Go. It provides a collection of modular implementations that demonstrate how to construct essential infrastructure components, including web servers, remote procedure call systems, distributed caches, and database abstraction layers. The framework distinguishes itself by focusing on the internal mechanics of these systems rather than providing a high-level abstraction for production use. It covers the implementation of complex architectural patterns

    Gogolanglearningscratch
    在 GitHub 上查看↗16,812
  • encode/databasesencode 的头像

    encode/databases

    4,002在 GitHub 上查看↗

    This project is an asyncio database abstraction layer that provides a common interface for performing non-blocking database operations in Python. It functions as an asynchronous database driver wrapper and a SQL expression builder, allowing for the construction of raw SQL strings from structured Python objects. The library includes an asyncio connection pool manager that utilizes task-local storage to handle connection lifecycles and reduce resource overhead. It also serves as an async database transaction manager, wrapping operations in atomic transactions and savepoints to maintain data int

    Python
    在 GitHub 上查看↗4,002
  • geldata/gelgeldata 的头像

    geldata/gel

    14,065在 GitHub 上查看↗

    Gel is an object-relational database system that models data as a graph of interconnected objects. By utilizing a strongly typed schema, it enables complex relational queries and polymorphic data structures without the need for traditional join tables. The system integrates native vector storage and similarity search operators, allowing it to function as both a relational and a vector database for semantic data retrieval. The platform distinguishes itself through a comprehensive suite of developer-centric automation tools. It features a declarative migration system that tracks and versions sc

    Pythondatabaseedgedbedgeql
    在 GitHub 上查看↗14,065
查看 Sqlx 的所有 30 个替代方案→

常见问题解答

launchbadge/sqlx 是做什么的?

This toolkit provides an asynchronous interface for interacting with relational databases, offering a unified driver-agnostic layer for managing connection pools and executing transactions. It is designed to integrate with asynchronous runtimes, enabling non-blocking database operations while maintaining secure, encrypted communication between the application and the database server.

launchbadge/sqlx 的主要功能有哪些?

launchbadge/sqlx 的主要功能包括:Asynchronous SQL Toolkits, Asynchronous Database Drivers, SQL Database Connectors, Compile-Time Validators, SQL Query Validators, SQL Schema Validators, Connection Pooling, Database Query Execution。

launchbadge/sqlx 有哪些开源替代品?

launchbadge/sqlx 的开源替代品包括: seaql/sea-orm — Sea-ORM is an asynchronous SQL object-relational mapper and database toolkit for mapping relational tables to strongly… geektutu/7days-golang — This project is an educational framework designed to teach the fundamentals of building core distributed systems and… encode/databases — This project is an asyncio database abstraction layer that provides a common interface for performing non-blocking… geldata/gel — Gel is an object-relational database system that models data as a graph of interconnected objects. By utilizing a… sqldelight/sqldelight — SQLDelight is a Kotlin database library that validates SQL schema, statements, and migrations at compile time,… knex/knex — Knex is a multi-dialect database client that provides a programmatic SQL query builder, a connection pool manager, and…