Expand description
Per-operation argument containers.
Each struct is the layer-2 “explicit form” of an operation request:
the macro DSL (phase 3+) expands to a *Args { ... } literal that
the operation builder consumes via .with_args(args). Direct
construction by hand is fully supported.
Generic parameters:
M— the modelW—WhereInputimpl for that modelI—IncludeInputimplS—SelectInputimplD—CreateInput::Data/UpdateInput::Datapayload (operation-specific)O—OrderByInputimpl
Phase 1 keeps the bounds open so hand-construction works even before codegen lands. Phase 2 narrows them when the per-model types exist.
Structs§
- Aggregate
Args - Args for
aggregate. The aggregate spec parameter is filled in by phase 6. - Count
Args - Args for
count. - Create
Args - Args for
create. - Create
Many Args - Args for
create_many. - Delete
Args - Args for
delete. - Delete
Many Args - Args for
delete_many. - Find
First Args - Args for
find_first. - Find
Many Args - Args for
find_many. - Find
Unique Args - Args for
find_unique.wheremust identify at most one row. - Group
ByArgs - Args for
group_by. The grouping spec parameter is filled in by phase 6. - Update
Args - Args for
update. - Update
Many Args - Args for
update_many. - Upsert
Args - Args for
upsert.