Skip to main content

Module repository

Module repository 

Source
Expand description

Repository implementations for PostgreSQL with comprehensive CRUD operations

Structs§

AggregateFieldError
A column name rejected by the allow-list, or a reduction that its type cannot answer.
AggregateGroup
One group’s numbers. key is the group’s value; None is a real answer — the rows whose group column is null — and is distinct from “no rows”.
AggregateResult
Groups plus the overall total, computed together.
AggregateSpec
What to group by and what to reduce — the parsed form of the query string.
FilterParams
Filter parameters
PaginatedResult
Paginated result wrapper
PaginationInfo
PaginationParams
Pagination parameters
PostgresRepository
PostgreSQL repository implementation with JSON-based dynamic queries
SortParams
Sorting parameters

Enums§

AggregateFn
Which reduction to apply to a column.
FilterCondition
SortDirection

Constants§

DEFAULT_GROUP_LIMIT
The default ceiling on distinct groups.

Traits§

DatabaseOperations
Database operations trait - requires Serialize for write operations
Entity
Generic entity trait that all repository entities must implement