Expand description
QuerySet API - Ormada-style query building
QuerySet API for Django-like query building on SeaORM.
Structs§
- Aggregated
- Aggregated state - has aggregations/annotations
- Filtered
- Filtered state - has filter/exclude operations
- Fresh
- Fresh state - initial
QuerySet, no operations applied - Grouped
- Grouped state - has GROUP BY applied, ready for annotations
- Ordered
- Ordered state - has ordering applied
- Paginated
- Paginated state - has limit/offset applied
- Q
- Q object for complex queries (Ormada’s Q objects)
- Query
Plan - Query plan - a collection of operations that can be inspected and optimized
- Query
Set - Main
QuerySetstructure (Ormada’sQuerySetequivalent)
Enums§
- Aggregation
- SQL aggregation function for use with
.annotate() - Filter
Expr - Type-safe filter expression for building queries
- Filter
Op - Type-safe filter expression for building queries
- Order
Direction - Order direction for sorting
- QueryOp
- Represents a single query operation - fully introspectable
- Query
State - Query building state for introspection
- Soft
Delete Mode - Soft delete filtering mode
Traits§
- CanAnnotate
- Marker trait for states that can add annotations (aggregations)
- CanExecute
- Marker trait for states that can execute queries
- CanExplain
- Marker trait for states that can add
explain/explain_analyze - CanFilter
- Marker trait for states that can add filters
- CanGroup
- Marker trait for states that can add GROUP BY
- CanOrder
- Marker trait for states that can add ordering
- CanPaginate
- Marker trait for states that can add pagination
- Column
Ext - Extension trait for Ormada-specific column operations
- Query
Ext - Extension trait to add
.objects()method to entities - Query
SetState - Marker trait for all valid
QuerySetstates