Expand description
Module: db
Responsibility: root subsystem wiring, façade re-exports, and runtime hook contracts.
Does not own: feature semantics delegated to child modules (query, executor, etc.).
Boundary: top-level db API and internal orchestration entrypoints.
Structs§
- Aggregate
Expr - AggregateExpr
- Compare
Fields Predicate - CompareFieldsPredicate
- Compare
Predicate - ComparePredicate
- Compiled
Query - CompiledQuery
- Data
Store - DataStore
- Data
Store Snapshot - DataStoreSnapshot
- DbSession
- DbSession
- Delete
Spec - DeleteSpec
- Entity
Field Description - EntityFieldDescription
- Entity
Index Description - EntityIndexDescription
- Entity
Name - EntityName
- Entity
Relation Description - EntityRelationDescription
- Entity
Runtime Hooks - EntityRuntimeHooks
- Entity
Schema Description - EntitySchemaDescription
- Entity
Snapshot - EntitySnapshot
- Execution
Metrics - ExecutionMetrics
- Execution
Stats - ExecutionStats
- Execution
Trace - ExecutionTrace
- Explain
Aggregate Terminal Plan - ExplainAggregateTerminalPlan
- Explain
Execution Descriptor - ExplainExecutionDescriptor
- Explain
Execution Node Descriptor - ExplainExecutionNodeDescriptor
- Explain
Plan - ExplainPlan
- Field
Ref - FieldRef
- Fluent
Delete Query - FluentDeleteQuery
- Fluent
Load Query - FluentLoadQuery
- Grouped
Row - GroupedRow
- Index
Name - IndexName
- Index
Store - IndexStore
- Index
Store Snapshot - IndexStoreSnapshot
- Integrity
Report - IntegrityReport
- Integrity
Store Snapshot - IntegrityStoreSnapshot
- Integrity
Totals - IntegrityTotals
- Load
Spec - LoadSpec
- Lowered
SqlCommand - LoweredSqlCommand
- Numeric
Projection Expr - NumericProjectionExpr
- Order
Expr - OrderExpr
- Order
Term - OrderTerm
- Paged
Grouped Execution - PagedGroupedExecution
- Paged
Grouped Execution With Trace - PagedGroupedExecutionWithTrace
- Paged
Load Execution - PagedLoadExecution
- Paged
Load Execution With Trace - PagedLoadExecutionWithTrace
- Paged
Load Query - PagedLoadQuery
- Planned
Query - PlannedQuery
- Projected
Row - ProjectedRow
- Query
- Query
- Query
Trace Plan - QueryTracePlan
- Round
Projection Expr - RoundProjectionExpr
- Row
- Row
- RowResponse
- Response
- Schema
Store - SchemaStore
- Storage
Report - StorageReport
- Store
Registry - StoreRegistry
- Structural
Patch - StructuralPatch
- Text
Projection Expr - TextProjectionExpr
- Trace
Reuse Event - TraceReuseEvent
- Write
Batch Response - WriteBatchResponse
Enums§
- Coercion
Id - CoercionId
- Compare
Op - CompareOp
- Entity
Relation Cardinality - EntityRelationCardinality
- Entity
Relation Strength - EntityRelationStrength
- Execution
Access Path Variant - ExecutionAccessPathVariant
- Execution
Family - ExecutionFamily
- Execution
Optimization - ExecutionOptimization
- Explain
Execution Mode - ExplainExecutionMode
- Explain
Execution Node Type - ExplainExecutionNodeType
- Explain
Execution Ordering Source - ExplainExecutionOrderingSource
- Filter
Expr - Filter
Value - Index
State - Intent
Error - IntentError
- Load
Query Result - LoadQueryResult
- Missing
RowPolicy - MissingRowPolicy
- Mutation
Mode - Order
Direction - OrderDirection Executor-facing ordering direction (applied after filtering).
- Plan
Error - PlanError
- Predicate
- Predicate
- Query
Error - QueryError
- Query
Execution Error - QueryExecutionError
- Query
Mode - QueryMode
- Response
Error - ResponseError
- Route
Execution Mode - RouteExecutionMode
- SqlStatement
Result - SqlStatementResult
- Trace
Execution Family - TraceExecutionFamily
- Trace
Reuse Artifact Class - TraceReuseArtifactClass
- Unsupported
Query Feature - UnsupportedQueryFeature
- Validate
Error - Predicate/schema validation failures, including invalid model contracts.
Traits§
- Persisted
Row - PersistedRow
- Response
Cardinality Ext - ResponseCardinalityExt
- Response
Row - ResponseRow
- Slot
Reader - SlotReader
- Slot
Writer - SlotWriter
- Value
Projection Expr - ValueProjectionExpr
Functions§
- add
- Build
field + literal. - asc
- Build one ascending typed ORDER BY term.
- avg
- Build
avg(field). - contains
- Build
CONTAINS(field, literal). - count
- Build
count(*). - count_
by - Build
count(field). - decode_
cursor - Decode a lowercase/uppercase hex cursor token into raw bytes.
- desc
- Build one descending typed ORDER BY term.
- div
- Build
field / literal. - encode_
cursor - Encode raw cursor bytes as a lowercase hex token.
- ends_
with - Build
ENDS_WITH(field, literal). - exists
- Build
exists. - field
- Build one typed direct-field ORDER BY expression.
- first
- Build
first. - identifier_
last_ segment - Return one final dotted identifier segment.
- identifiers_
tail_ match - Return whether two SQL identifiers resolve to the same entity tail segment.
- last
- Build
last. - left
- Build
LEFT(field, length). - length
- Build
LENGTH(field). - lower
- Build
LOWER(field). - ltrim
- Build
LTRIM(field). - max
- Build
max. - max_by
- Build
max(field). - min
- Build
min. - min_by
- Build
min(field). - mul
- Build
field * literal. - normalize_
identifier_ to_ scope - Normalize one possibly-qualified identifier against one SQL entity scope.
- position
- Build
POSITION(literal, field). - replace
- Build
REPLACE(field, from, to). - right
- Build
RIGHT(field, length). - round
- Build
ROUND(field, scale). - round_
expr - Build
ROUND(expr, scale)for one existing bounded numeric projection. - rtrim
- Build
RTRIM(field). - split_
qualified_ identifier - Split one qualified identifier into
(qualifier, leaf)on the last.. - starts_
with - Build
STARTS_WITH(field, literal). - sub
- Build
field - literal. - substring
- Build
SUBSTRING(field, start). - substring_
with_ length - Build
SUBSTRING(field, start, length). - sum
- Build
sum(field). - trim
- Build
TRIM(field). - upper
- Build
UPPER(field).
Type Aliases§
- Entity
Response - EntityResponse
- Projection
Response - ProjectionResponse