salvo-database

Official

Connect Salvo apps to databases with ORM ease.

Authorsalvo-rs
Version1.0.0
Installs0

System Documentation

What problem does it solve?

Integrate relational databases with Salvo applications using SQLx, Diesel, SeaORM, or other ORMs for persistent data storage and robust data access patterns.

Core Features & Use Cases

  • ORM integrations: SQLx, SeaORM, and Diesel support for async and sync workflows.
  • Depot injection and pooling: seamless injection of database connections into handlers with transaction support.
  • Transactions and consistency: coordinate multi-step operations with rollback safety.
  • Complete examples: end-to-end patterns for common CRUD workflows in Salvo.

Quick Start

Create a database pool (for example PgPool) and inject it into the Salvo router to start performing simple CRUD operations.

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: salvo-database
Download link: https://github.com/salvo-rs/salvo-skills/archive/main.zip#salvo-database

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 223,000+ vetted skills library on demand.