sqlx-query

Community

Safe, compile-time SQLx queries for Rust.

Authoradelabdelgawad
Version1.0.0
Installs0

System Documentation

What problem does it solve?

Compile-time verification and safe dynamic SQL for SQLx in Rust, reducing runtime errors and security risks.

Core Features & Use Cases

  • Macro selection for query!, query_as!, query_scalar!, and query_file!
  • AssertSqlSafe dynamic SQL handling, executor-generic patterns, and transaction/savepoint support
  • End-to-end patterns for fetch_one, fetch_optional, fetch_all, and FromRow usage across pools, connections, and transactions.

Quick Start

Begin using sqlx-query by enabling a few macros and start writing compile-time-verified SQLx queries in your Rust code.

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: sqlx-query
Download link: https://github.com/adelabdelgawad/rust-fullstack-agents/archive/main.zip#sqlx-query

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 510,000+ vetted skills library on demand.