ostring_sqlx

Crates.ioostring_sqlx
lib.rsostring_sqlx
version2.0.3
created_at2024-11-28 07:41:32.024722+00
updated_at2025-04-26 04:06:55.731883+00
descriptionA basic configuration persistence wrapper
homepage
repositoryhttps://github.com/Weakcat/ostring_sqlx.git
max_upload_size
id1464012
size64,995
Yang (Weakcat)

documentation

README

ostring_sqlx

ostring_sqlx 是一个基于 sqlx 的数据库操作封装,为 ostring 项目提供基本配置的数据持久化支持。

功能特点

  • 基于 sqlx 构建,提供异步数据库操作
  • 支持 SQLite 数据库的常用操作
  • 提供简单易用的 API 接口
  • 完全异步支持
  • 类型安全的 SQL 查询

安装

Cargo.toml 中添加依赖:

[dependencies]
ostring_sqlx = "1.0.0"

TODO: 添加更多功能

  • 添加测试功能
  • 添加更多数据库支持
Commit count: 0

cargo fmt