use-db-index 0.1.0

Primitive database index metadata for RustUse
Documentation
  • Coverage
  • 100%
    30 out of 30 items documented1 out of 20 items with examples
  • Size
  • Source code size: 8.14 kB This is the summed size of all the files inside the crates.io package for this release.
  • Documentation size: 712.04 kB This is the summed size of all files generated by rustdoc for all configured targets
  • Ø build duration
  • this release: 3s Average build duration of successful builds.
  • all releases: 3s 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-index

Index references, kinds, indexed columns, ordering, metadata, and uniqueness.

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_index::{IndexColumn, IndexOrder};
use use_db_name::ColumnName;

let column = IndexColumn::new(ColumnName::new("id").expect("valid column"), IndexOrder::Ascending);
assert_eq!(column.order(), IndexOrder::Ascending);