Skip to main content

Module logical

Module logical 

Source
Expand description

Declared feature execution through the configured logical database adapter.

StructsΒ§

InsertedRow πŸ”’
QueryDependencyPlan πŸ”’
Owns bounded query-dependency resolution while a transaction is planned.

EnumsΒ§

LogicalStore πŸ”’
Keeps one selected adapter and schema for the whole declared feature call.

FunctionsΒ§

append_read_guards πŸ”’
Binds a read set in bounded groups without consuming one transaction step per row. Grouping requires complete identities so matching duplicates cannot hide a stale row.
bind_guard_preconditions πŸ”’
Checks declared guards before writes and binds their read set into the transaction.
complete_insert_values πŸ”’
Completes a planned insert using declared defaults so local reads match its write.
ensured_existing_row πŸ”’
Captures an ensured row through the interface and guards its snapshot before writes.
execute_logical_queries πŸ”’
Executes declared feature queries without compiling SQL in the request path.
execute_logical_transaction πŸ”’
Executes declared writes and guards in one adapter transaction.
field_value πŸ”’
Converts HTML form booleans into the logical field type before any adapter sees them.
inserted_row πŸ”’
local_row_matches πŸ”’
Matches a declared equality filter against a transaction-local write.
map_database_error πŸ”’
Preserves the logical database error category at the declared feature boundary.
operation_query_references πŸ”’
Finds only declared query references used by one bounded operation.
planned_write_targets πŸ”’
Distinguishes unrelated prospective writes from changes to a query’s own entity.
predicate_for_filters πŸ”’
Resolves one declared field filter into a typed backend-neutral predicate.
predicate_for_transaction_filters πŸ”’
Resolves declared reservation filters without losing an ensured row identity.
prior_idempotent_result πŸ”’
Reuses a saved result only when every declared idempotency field still matches.
reservation_transition πŸ”’
Builds a bounded reservation status transition from app-owned declarations.
store_for_app πŸ”’
Opens the app’s logical entity catalog through its configured backend.
working_query_rows πŸ”’
Reuses a bounded, trusted request-local query binding without another storage read. Persistence still checks its captured row values inside the mutation transaction.
write_values πŸ”’
Compiles declared write values while preserving a prior generated-id binding.