where!() { /* proc-macro */ }Expand description
prax::r#where! — schema-aware shape macro returning a
<Model>WhereInput value. Composes with the read macros via
..spread inside their where: block (op macros reject spread at
their own top level):
ⓘ
let active = prax::r#where!(User, { active: true });
let _ = prax::find_many!(client.user, {
where: { ..active, email: { contains: "@x.com" } },
});Exported as r#where because where is a Rust keyword and the
raw-identifier prefix is required at the call site whenever the
macro is reached through a path (prax::r#where!(...)).