SqliteEngine.Procedures.Limits (SqliteEngine v0.1.0)

Copy Markdown View Source

Bounded native procedure execution limits.

Values may be narrowed per call but cannot exceed the native hard maxima. instructions counts Luau interrupt/fuel checkpoints rather than source statements. timeout_ms: 0 disables the monotonic wall deadline.

Summary

Types

t()

@type t() :: %SqliteEngine.Procedures.Limits{
  argument_bytes: pos_integer(),
  commands: pos_integer(),
  depth: pos_integer(),
  instructions: pos_integer(),
  memory_bytes: pos_integer(),
  result_bytes: pos_integer(),
  row_output_bytes: pos_integer(),
  rows: pos_integer(),
  sql_input_bytes: pos_integer(),
  statements: pos_integer(),
  timeout_ms: non_neg_integer(),
  values: pos_integer()
}

Functions

defaults()

@spec defaults() :: t()

hard_maxima()

@spec hard_maxima() :: t()

new(limits)

@spec new(t() | map() | keyword()) :: t()