rbatis
CommunityRust ORM with compile-time SQL and MyBatis syntax
Authorcctyl
Version1.0.0
Installs0
System Documentation
What problem does it solve?
Rust developers often face boilerplate and unsafe SQL code when interacting with relational databases. rbatis provides a Rust-native ORM with compile-time dynamic SQL and MyBatis-compatible syntax to streamline data access.
Core Features & Use Cases
- Compile-time dynamic SQL: generate zero-runtime-overhead queries in Rust.
- MyBatis-compatible templates: html_sql and py_sql for flexible SQL templates.
- Transaction management, pagination, and table synchronization support for robust data-layer workflows.
- Rich data-mapping macros for CRUD operations and custom queries across drivers. Use cases include building high-performance Rust services that require type-safe CRUD, complex queries, and efficient data access with minimal runtime cost.
Quick Start
Create a RBatis instance in your Rust project and begin using the CRUD macros to interact with your database.
Dependency Matrix
Required Modules
None requiredComponents
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: rbatis Download link: https://github.com/cctyl/BiliRecommBehaviorCorrection/archive/main.zip#rbatis Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.