Expand description
Query building, per-request options, and paginated results.
Provides QueryData (a SeaORM Select wrapper with pagination and
relation-hydration steps), DeleteQueryData for bulk deletes,
RepositoryOptions for limit/cursor/user/correlation settings,
PageResult for cursor pages, and CursorData for opaque cursors.
Build a QueryData, optionally attach hydration with
[QueryData::with_traverser], then run it through
crate::data::PersistentRepository (get_all/get_many/get_one/
get_paginated_view and the *_traversed variants).
Cursors are base64-encoded JSON holding a limit and an id cursor.
Selects filter on id in the direction recorded by the ordering
(ascending uses id > cursor, descending uses id < cursor);
deletes always use id > cursor.
Structs§
- Cursor
Data - Opaque pagination cursor carrying the page size and last-seen
id. - Delete
Query Data - Bulk-delete wrapper around a SeaORM
DeleteMany. - NoUser
- Default user type used when no caller identity is supplied.
- Page
Result - One cursor page of rows.
- Query
Data - Builder wrapping a SeaORM entity loader with pagination and hydration settings.
- Repository
Options - Per-request settings for repository queries.