Skip to main content

cratestack_sqlx/query/
read.rs

1//! Read primitives — `find_many`, `find_unique`, aggregates, and
2//! their projected (`.select(...)`) variants. Every read flows through
3//! [`crate::query::support::push_scoped_conditions`] so soft-delete +
4//! read policy apply uniformly.
5
6mod aggregate;
7mod aggregate_column;
8mod aggregate_count;
9mod find_many;
10mod find_many_preview;
11mod find_many_with;
12mod find_unique;
13mod projected_find_many;
14mod projected_find_unique;
15mod side_load;
16
17pub use aggregate::Aggregate;
18pub use aggregate_column::AggregateColumn;
19pub use aggregate_count::AggregateCount;
20pub use find_many::FindMany;
21pub use find_many_with::FindManyWith;
22pub use find_unique::FindUnique;
23pub use projected_find_many::ProjectedFindMany;
24pub use projected_find_unique::ProjectedFindUnique;