{"repo":"josercarmo/sqlx-data","free":true,"listed":false,"github":"https://github.com/josercarmo/sqlx-data","clone":"git clone https://github.com/josercarmo/sqlx-data.git","description":"Advanced SQLx companion for type-safe query repositories with automatic parameter binding, sophisticated pagination, streaming, and zero-boilerplate trait-based implementations.","language":"Rust","stars":16,"topics":["database","pagination","repository-pattern","sqlx"],"license":"MIT","category":"databases-storage","readme_excerpt":"SQLx-Data 🏗️ An advanced SQLx companion for type-safe query repositories Quick Start Features Docs Examples Zero-boilerplate Repository Pattern for modern Rust applications. Automatic SQLx parameter binding and result parsing with trait-based repositories. Write SQL traits, get async implementations with sophisticated pagination , streaming , batch operations , and more . Seamlessly integrates with existing SQLx code — continue using SQLx queries normally, override generated methods, and reuse generated query methods across different contexts. --- Features 🎯 Core - Zero boilerplate — Write traits, not implementations - Compile-time safety — Always uses SQLx's compile-time macros ( query as! , query! , query scalar! ) ensuring type safety and SQL validation at build time - Smart type inference — Returns T , Option , Vec , tuples, scalars and others - Multi-database — PostgreSQL, MySQL, SQLite 🚀 Advanced - Pagination & Dynamic Queries Built-in Serial, Slice, and Cursor strategies. Automatically generates the correct COUNT( ) query for pagination metadata and handles complex dynamic filters via ParamsBuilder . - Parameter Naming Use named parameters with @parameter name syntax for cleaner, more readable queries. Parameters can appear in any order and be reused multiple times within the same query. - Aliases Keep your SQL DRY by defining reusable fragments (like common column sets or table joins) and injecting them using {{mustache}} syntax. - Scopes Rails-inspired query compo","default_branch":null,"files":null,"tree":[],"storefront":"/r/josercarmo","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/josercarmo/sqlx-data/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}