Skip to main content

Crate teaql_core

Crate teaql_core 

Source

Re-exports§

pub use entity::Audited;
pub use entity::BaseEntity;
pub use entity::BaseEntityData;
pub use entity::Entity;
pub use entity::EntityDescriptorStore;
pub use entity::EntityError;
pub use entity::IdentifiableEntity;
pub use entity::TeaqlBoxedRelations;
pub use entity::TeaqlEntity;
pub use entity::VersionedEntity;

Modules§

business_id
dynamic_fields
Persistable object extensions. Names are runtime-defined and never receive fixed bit indexes. Readonly computed properties (_name) are a different namespace and are not accepted here.
dynamic_properties
Readonly result-schema descriptors. Definitions do not imply property presence.
dynamic_search
Local UI search input. This is not a permissive federation decoder.
eval
request
Query builder layer types for TeaQL.
serde_utils
time

Macros§

register_entities

Structs§

Aggregate
AggregationCacheOptions
Audited
A wrapper that carries a mandatory audit comment with an entity. Only Audited<T> has a .save() method — bare entities cannot be saved directly. This enforces the “must comment on save” policy at compile time.
BaseEntityData
BatchInsertCommand
BatchUpdateCommand
CompactRow
CompactRowLayout
A database result row whose column names are shared by the whole result set.
ContinuousPageFetchOptions
Decimal
Decimal represents a 128 bit representation of a fixed-precision decimal number. The finite set of values of type Decimal are of the form m / 10e, where m is an integer such that -296 < m < 296, and e is an integer between 0 and 28 inclusive.
DeleteCommand
EntityDescriptor
EntityError
EntityGraph
An annotated entity graph ready for saving.
EntityGraphBuilder
Builder for constructing an annotated entity graph that preserves comment trace chains through the save pipeline.
EntityGraphNode
A single node in an annotated entity graph.
EntitySnapshot
Previously persisted field values used for optimistic checks and audit comparison. It cannot be passed where new mutation values are expected.
FieldLayout
Immutable type metadata. Positions originate in the generated library, never access order.
GeneratedValues
Values assigned by a persistence provider, such as generated identifiers or database defaults. They are provider output, not mutation input.
IdSetPaginationOptions
InsertCommand
LoadedSnapshot
Value-free availability shared by compatible rows. Overflow and named selections are lazy.
MutationIntent
Validated root mutation reason. Local descendant reasons remain optional.
MutationValues
Field values intentionally supplied to a database mutation.
NamedExpr
ObjectGroupBy
OrderBy
PropertyDescriptor
QueryIntent
Validated query intent. Private fields and no Default prevent blank envelopes.
QueryOperation
QueryRequestScope
A read-only view of an actual request’s identity and direct parent. Bodies remain in their own SelectQuery; a relation shares only this small header.
RawSqlProjection
RecoverCommand
RelationAggregate
RelationDescriptor
RelationLoad
RequestIntentError
SafeExpression
SelectQuery
Slice
SmartList
StreamConfig
TraceNode
UpdateCommand
WebAction
WebResponse
WebStyle
XlsBlock
XlsBlockBuildContext
XlsPage
XlsWorkbook

Enums§

AggregateFunction
BinaryOp
DataType
EntityGraphOperation
Operation hint for an entity graph node.
Expr
ExprFunction
MutationKind
QueryOperationKind
RequestKind
SortDirection
TraceKind
Value

Constants§

ACTION_LIST_KEY
PARTITION_RANK_PROPERTY
Internal projection used to implement per-parent pagination for relation loads. Runtime relation attachment removes it before exposing child rows.
STYLE_KEY
WEB_RESPONSE_VERSION

Traits§

BaseEntity
Entity
EntityDescriptorStore
IdentifiableEntity
TeaqlBoxedRelations
TeaqlEmpty
TeaqlEntity
VersionedEntity

Functions§

compact_row_to_json_value
default_table_name
record_to_json_value

Type Aliases§

Record