Lightweight SQLite ORM

Kestrel 5b90239bec Moved migration behind feature gate, fixed tests. 1 ngày trước cách đây
microrm 5b90239bec Moved migration behind feature gate, fixed tests. 1 ngày trước cách đây
microrm-macros 5b90239bec Moved migration behind feature gate, fixed tests. 1 ngày trước cách đây
.gitignore a763557e88 Fix statement ordering bug with DBPool. 2 năm trước cách đây
.vimrc d06683b9f6 rustfmt pass and get_one_by_multi support. 2 năm trước cách đây
CHANGELOG.md 9704e7f6d5 Correct microrm-macros dependency and bump version number again. 1 tháng trước cách đây
Cargo.toml ab06e1f3c2 Significant reworking of query interface to be more unified. 8 tháng trước cách đây
README.md 4711b79330 Expand documentation somewhat. 6 tháng trước cách đây
rust-analyzer.json 25603a6dfe Improve documentation and tighten trait impl requirements slightly. 6 tháng trước cách đây
rustfmt.toml d53c910e9f Add rustfmt.toml. 6 tháng trước cách đây

README.md

docs.rs

microrm is a simple object relational manager (ORM) for sqlite.

Unlike many fancier ORM systems, microrm is designed to be lightweight, both in terms of runtime overhead and developer LoC. By necessity, it sacrifices flexibility towards these goals, and so can be thought of as more opinionated than, say, SeaORM or Diesel. Major limitations of microrm are:

  • lack of database migration support
  • limited vocabulary for describing object-to-object relations

microrm pushes the Rust type system somewhat to provide better ergonomics, so the MSRV is currently 1.75. Don't be scared off by the web of traits in the schema module --- you should never need to interact with any of them!