use-db-query 0.1.0

Primitive database query vocabulary for RustUse
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
# use-db-query

Query labels, kinds, modes, timeout, pagination, cursor, sorting, filter, and projection vocabulary.

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

~~~rust
use use_db_query::{PageRequest, SortDirection};

let page = PageRequest::new(1, 50);
assert_eq!(page.page(), 1);
assert_eq!(SortDirection::Ascending.as_str(), "ascending");
~~~