Skip to main content

Crate radixdb_orm

Crate radixdb_orm 

Source
Expand description

Language-neutral contracts used by the RadixDB Rust ORM facade.

This crate deliberately has no dependency on the server, storage engine, TCP transport, or generated Rust models. Other SDKs can implement the same versioned JSON and SQL fixtures without reproducing engine internals.

Structs§

AlterTableBuilder
Assignment
CaseBranch
Column
ColumnDefinition
ColumnDescriptor
ColumnRef
CommonTableExpression
CompiledStatement
ConstraintDescriptor
CreateTableAsBuilder
CreateTableBuilder
DatabaseDescriptor
DdlBuilder
Delete
DeleteBuilder
DescriptorEnvelope
DynamicColumn
DynamicEntity
DynamicRecord
DynamicReference
Runtime counterpart of Reference<T> for descriptor-driven clients. It carries only a validated target key; it never owns or loads a row.
Explain
Expr
FieldState
FormFieldDescriptor
GeneratedQuery
GeneratedRust
GeneratedValueDecodeError
IndexDefinition
IndexDescriptor
Insert
InsertBuilder
IrDocument
MigrationPreview
NamedWindow
Order
OrderBy
Projection
QueryBuilder
Reference
ReferenceDefinition
ReferenceSelector
ResultColumnDescriptor
SchemaChanged
Select
SetArm
SqlRenderer
TableDescriptor
TableFormDescriptor
TypedColumn
TypedKey
A generated one-column PRIMARY KEY or UNIQUE NOT NULL descriptor.
TypedNavigation
Statically rooted read-only navigation path. Each additional field() appends one schema-validated reference edge; the server remains the final authority for catalog compatibility and rejects stale generated paths.
Update
UpdateBuilder
Upsert
ViewDescriptor
WindowFrame
WindowSpecification

Enums§

AlterTableAction
BinaryOperator
BuilderError
BuilderExecutionError
BuilderJsonError
BuilderSqlError
CatalogOperation
CodegenError
ConstraintDefinition
ConstraintDefinitionIr
DataTypeDescriptor
DdlOperation
DescriptorError
DescriptorKind
EditorKind
Expression
FieldValue
FloatSpecial
FloatValue
ForeignKeyActionDescriptor
GeneratedRecordError
Grouping
IndexMethod
IrError
IrKind
JoinKind
MigrationPreviewError
NullPlacement
Operation
RecordError
RecordMutation
Relation
RenderError
SetOperator
SortDirection
TransactionOperation
TypedValue
TypedValueError
UnaryOperator
WindowFrameBound
WindowFrameUnit

Constants§

GUI_TABLE_FORM_JSON_SCHEMA
ORM_CONFORMANCE_FIXTURES
ORM_CONFORMANCE_MANIFEST
ORM_IR_JSON_SCHEMA
ORM_IR_VERSION
SCHEMA_DESCRIPTOR_JSON_SCHEMA
SCHEMA_DESCRIPTOR_VERSION

Traits§

AsyncOrmGeneratedQuerySession
AsyncOrmGeneratedRecordSession
Async counterpart used by transport clients without introducing a runtime dependency into the language-neutral ORM crate.
AsyncOrmRecordSession
AsyncOrmSession
Async execution boundary over the caller-owned connection/session.
GeneratedEntity
GeneratedRecord
Runtime bridge implemented by deterministic generated record types. Execution remains transport-owned; generated code only converts between its typed fields and the canonical DynamicRecord.
GeneratedValue
OrmBuilder
OrmGeneratedQuerySession
OrmGeneratedRecordSession
Transport-owned execution for deterministic generated records.
OrmRecordSession
Transport-specific RETURNING * hydration while preserving one session.
OrmSession
Synchronous execution boundary shared by embedded and TCP sessions.

Functions§

canonical_fingerprint
check
cte
decode_generated_field
Decode one canonical dynamic field into a generated Rust field while preserving omitted/NULL/clean state exactly.
decode_generated_reference_field
ensure_schema_fingerprint
generate_rust_database
parse_decimal_literal
primary_key
reference
table
table_as
unique
validate_reference_target
values_relation

Type Aliases§

OrmFuture
Runtime-neutral owned future used by async ORM session traits.