Skip to main content

Module db

Module db 

Source
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§

AggregateExpr
AggregateExpr
CompareFieldsPredicate
CompareFieldsPredicate
ComparePredicate
ComparePredicate
CompiledQuery
CompiledQuery
DataStore
DataStore
DataStoreSnapshot
DataStoreSnapshot
DbSession
DbSession
DeleteSpec
DeleteSpec
EntityFieldDescription
EntityFieldDescription
EntityIndexDescription
EntityIndexDescription
EntityName
EntityName
EntityRelationDescription
EntityRelationDescription
EntityRuntimeHooks
EntityRuntimeHooks
EntitySchemaDescription
EntitySchemaDescription
EntitySnapshot
EntitySnapshot
ExecutionMetrics
ExecutionMetrics
ExecutionStats
ExecutionStats
ExecutionTrace
ExecutionTrace
ExplainAggregateTerminalPlan
ExplainAggregateTerminalPlan
ExplainExecutionDescriptor
ExplainExecutionDescriptor
ExplainExecutionNodeDescriptor
ExplainExecutionNodeDescriptor
ExplainPlan
ExplainPlan
FieldRef
FieldRef
FluentDeleteQuery
FluentDeleteQuery
FluentLoadQuery
FluentLoadQuery
GroupedRow
GroupedRow
IndexName
IndexName
IndexStore
IndexStore
IndexStoreSnapshot
IndexStoreSnapshot
IntegrityReport
IntegrityReport
IntegrityStoreSnapshot
IntegrityStoreSnapshot
IntegrityTotals
IntegrityTotals
LoadSpec
LoadSpec
LoweredSqlCommand
LoweredSqlCommand
NumericProjectionExpr
NumericProjectionExpr
OrderExpr
OrderExpr
OrderTerm
OrderTerm
PagedGroupedExecution
PagedGroupedExecution
PagedGroupedExecutionWithTrace
PagedGroupedExecutionWithTrace
PagedLoadExecution
PagedLoadExecution
PagedLoadExecutionWithTrace
PagedLoadExecutionWithTrace
PagedLoadQuery
PagedLoadQuery
PlannedQuery
PlannedQuery
ProjectedRow
ProjectedRow
Query
Query
QueryTracePlan
QueryTracePlan
RoundProjectionExpr
RoundProjectionExpr
Row
Row
RowResponse
Response
SchemaStore
SchemaStore
StorageReport
StorageReport
StoreRegistry
StoreRegistry
StructuralPatch
StructuralPatch
TextProjectionExpr
TextProjectionExpr
TraceReuseEvent
TraceReuseEvent
WriteBatchResponse
WriteBatchResponse

Enums§

CoercionId
CoercionId
CompareOp
CompareOp
EntityRelationCardinality
EntityRelationCardinality
EntityRelationStrength
EntityRelationStrength
ExecutionAccessPathVariant
ExecutionAccessPathVariant
ExecutionFamily
ExecutionFamily
ExecutionOptimization
ExecutionOptimization
ExplainExecutionMode
ExplainExecutionMode
ExplainExecutionNodeType
ExplainExecutionNodeType
ExplainExecutionOrderingSource
ExplainExecutionOrderingSource
FilterExpr
FilterValue
IndexState
IntentError
IntentError
LoadQueryResult
LoadQueryResult
MissingRowPolicy
MissingRowPolicy
MutationMode
OrderDirection
OrderDirection Executor-facing ordering direction (applied after filtering).
PlanError
PlanError
Predicate
Predicate
QueryError
QueryError
QueryExecutionError
QueryExecutionError
QueryMode
QueryMode
ResponseError
ResponseError
RouteExecutionMode
RouteExecutionMode
SqlStatementResult
SqlStatementResult
TraceExecutionFamily
TraceExecutionFamily
TraceReuseArtifactClass
TraceReuseArtifactClass
UnsupportedQueryFeature
UnsupportedQueryFeature
ValidateError
Predicate/schema validation failures, including invalid model contracts.

Traits§

PersistedRow
PersistedRow
ResponseCardinalityExt
ResponseCardinalityExt
ResponseRow
ResponseRow
SlotReader
SlotReader
SlotWriter
SlotWriter
ValueProjectionExpr
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§

EntityResponse
EntityResponse
ProjectionResponse
ProjectionResponse