Expand description
Shared TypeDB execution engine for generated TypeBridge clients.
Public application model construction lives in generated type-bridge
packages. This crate exposes connection, query, transaction, and verified
runtime-projection execution; handwritten model traits, derives, registries,
descriptors, managers, and schema authoring are not package-root APIs.
Re-exports§
pub use error::ClassifiedCommitError;pub use error::CommitFailureCertainty;pub use error::OrmError;pub use error::Result;pub use expr::Agg;pub use expr::AggResult;pub use expr::Expr;pub use expr::GroupByResult;pub use expr::SortDir;pub use filter::Filter;pub use hooks::CrudOperation;pub use hooks::HookContext;pub use hooks::HookError;pub use hooks::HookRunner;pub use hooks::LifecycleHook;pub use hooks::PreHookResult;pub use hooks::TypeKind;pub use provider_runtime::ProviderRuntimeOwner;pub use query::EntityQuery;pub use query::GroupByEntityQuery;pub use query::GroupByRelationQuery;pub use query::RelationQuery;pub use runtime_projection::InstalledRuntimeProjection;pub use session::backend::AnswerCancellation;pub use session::Database;pub use session::DatabaseConnectionAuthority;pub use session::GivenRowsSpec;pub use session::GivenValue;pub use session::Transaction;pub use session::TransactionContext;pub use session::TxType;pub use session::require_legacy_writer_open;pub use session::require_legacy_writer_open_in_transaction;pub use session::database_exists;pub use session::database_exists_secure;pub use session::delete_database_secure;pub use session::ensure_database_exists;pub use session::ensure_database_exists_secure;pub use value::AttributeValue;pub use match_request::*;
Modules§
- error
- Unified error types for the ORM crate.
- expr
- Expression system for building typed queries.
- filter
- Query filters for entity lookups.
- hooks
- Lifecycle hook system for CRUD operations.
- match_
request - Canonical, provider-neutral typed match request and result contract.
- migration_
assertion - TypeDB lowering and bounded execution for validated migration assertions.
- provider_
runtime - Tokio runtime ownership for synchronous language bindings.
- query
- Chainable query builders for entities and relations.
- query_
v2 - Deterministic TypeQL lowering for validated V2 query plans.
- query_
v2_ builder - Shared incremental authoring state machine for canonical V2 query plans.
- query_
v2_ prepared - Prepared-plan execution facade for idiomatic binding projections.
- query_
v2_ remote - Remote execution of validated query plans over the versioned envelope.
- runtime_
projection - Provider descriptors derived one-way from a trusted runtime projection.
- session
- Session layer for TypeDB connectivity.
- value
- Typed attribute values corresponding to TypeDB value types.
Structs§
- Claimed
Remote Model Reply V2 - The sole claimed reply slot for one adapted model request.
- Connect
Options - Connection-time options for the version-gated TypeDB runtime.
- Dynamic
Aggregate - Runtime aggregate requested by a language binding.
- Dynamic
Entity Identity - Identity-only evidence for one concrete entity discovered under a root type.
- Dynamic
Entity Row - Dynamic entity row hydrated from a fetch document.
- Dynamic
Relation Identity - Owned identity-only evidence for a concrete relation discovered under a root relation.
- Dynamic
Relation Row - Runtime relation row hydrated from a fetch document.
- Dynamic
Role Player - Dynamic role player hydrated from relation fetch output or provided for relation insert.
- Dynamic
Role Player Input - Runtime role player reference used for dynamic relation inserts.
- Pending
Remote Model Query V2 - One adapted model request and its request-bound one-shot decoder.
- Secure
Connect Options - Connection options for the typed TLS transport surface.
Enums§
- Dynamic
Comparison Op - Runtime comparison operator requested by a language binding.
- Dynamic
Expr - Runtime expression tree requested by a language binding.
- Dynamic
Sort - Runtime sort requested by a language binding.
- Remote
Model Query V2Error - A model-query remote failure retains its native structured error family.
- Secure
Connect Error - Error returned by typed secure connection and lifecycle entry points.
- TlsMode
- Canonical TLS policy for secure TypeDB connections.
- Value
Type - TypeDB value type enum for type-safe metadata.
Functions§
- embedded_
driver_ versions - Return the driver versions compiled into this build, keyed by protocol band.
- prepare_
remote_ model_ query_ v2 - Adapt and prepare one released model-oriented terminal for remote V2 execution.
Type Aliases§
- Dynamic
Attribute Map - Runtime attribute values keyed by TypeDB attribute name or descriptor field name.
- Secure
Result - Result alias for typed secure connection and lifecycle operations.