Immutable, bounded native Luau application procedures.
A physical SQLite connection owns one warm VM. Procedure source is installed
once in the database and lazily compiled by digest on each connection. Use
apply_batch/3 for an ordered host-owned transaction, receipts, and durable
results; use apply_batch_in_transaction/3 only on an already checked-out
active transaction.
Summary
Functions
Applies an ordered heterogeneous batch in one native call and transaction.
Applies a batch inside the caller's already-active transaction.
Calls one key in a host-owned transaction and returns its inline value.
Deletes future catalog availability. Keys already warm remain loaded.
Deletes a result only when no retained receipt requires it.
Returns whether an immutable procedure key exists.
Fetches and verifies one bounded durable canonical result.
Returns catalog information for one key. Source is opt-in.
Installs exact immutable Luau source and returns its SHA-256 key.
Lists a deterministic bounded catalog page ordered by key.
Looks up a definitive committed command receipt.
Prunes at most :limit results and their receipts using a caller cutoff.
Returns connection-local VM/cache/memory counters.
Warms only the selected keys on this physical connection.
Functions
Applies an ordered heterogeneous batch in one native call and transaction.
Applies a batch inside the caller's already-active transaction.
Calls one key in a host-owned transaction and returns its inline value.
Deletes future catalog availability. Keys already warm remain loaded.
Deletes a result only when no retained receipt requires it.
Returns whether an immutable procedure key exists.
Fetches and verifies one bounded durable canonical result.
Returns catalog information for one key. Source is opt-in.
@spec install(SqliteEngine.Sqlite3.db() | DBConnection.conn(), binary(), keyword()) :: {:ok, SqliteEngine.Procedures.Procedure.t()} | {:error, SqliteEngine.ProcedureError.t()}
Installs exact immutable Luau source and returns its SHA-256 key.
Lists a deterministic bounded catalog page ordered by key.
Looks up a definitive committed command receipt.
Prunes at most :limit results and their receipts using a caller cutoff.
Returns connection-local VM/cache/memory counters.
Warms only the selected keys on this physical connection.