use-db-row 0.1.0

Primitive database row metadata for RustUse
Documentation
  • Coverage
  • 100%
    21 out of 21 items documented1 out of 15 items with examples
  • Size
  • Source code size: 7 kB This is the summed size of all the files inside the crates.io package for this release.
  • Documentation size: 714.93 kB This is the summed size of all files generated by rustdoc for all configured targets
  • Ø build duration
  • this release: 2s Average build duration of successful builds.
  • all releases: 2s Average build duration of successful builds in releases after 2024-10-23.
  • Links
  • Homepage
  • RustUse/use-database
    1 0 0
  • crates.io
  • Dependencies
  • Versions
  • Owners
  • CloudBranch

use-db-row

Row identifiers, row numbers, row counts, affected-row counts, and row status.

This crate is part of the use-database facade workspace. It provides small, engine-neutral vocabulary types and metadata containers. It does not connect to databases, execute queries, run migrations, parse SQL, or model engine-specific behavior.

Example

use use_db_row::{RowCount, RowId};

let id = RowId::new("row-1").expect("valid row id");
let count = RowCount::new(10);

assert_eq!(id.as_str(), "row-1");
assert_eq!(count.value(), 10);