use-db-result 0.1.0

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

Generic result sets, result pages, page info, cursor positions, total counts, and has-more markers.

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_result::{HasMore, ResultSet, ResultSetMetadata};

let results = ResultSet::new(vec![1, 2, 3], ResultSetMetadata::new(None, HasMore::new(false)));
assert_eq!(results.len(), 3);
~~~