Skip to main content

Crate use_db_table

Crate use_db_table 

Source
Expand description

§use-db-table

Table references, metadata, kind, status, and statistics primitives.

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_name::TableName;
use use_db_table::TableRef;

let table = TableRef::new(TableName::new("users").expect("valid table"));
assert_eq!(table.table().as_str(), "users");

Table metadata primitives for RustUse.

Structs§

TableMetadata
Table metadata.
TableRef
A table reference with optional schema qualification.
TableStats
Basic table statistics.

Enums§

TableKind
Broad table families.
TableStatus
Broad table lifecycle status.