Skip to main content

Module params

Module params 

Source
Expand description

Bind parameters for Engine::sql(query, params).

Structs§

SQLTensor

Enums§

RangeParameterBounds
Host range bounds use absent endpoints for infinity and an explicit variant for the empty set.
SQLParam
Value bound to a $N placeholder.

Functions§

bind_declared_parameter_types
Refresh a prepared definition’s declared parameter identities before argument conversion. A missing declaration is an error even for an unused parameter supplied as untyped NULL.
bind_parameter_type_with_control
Resolve a retained declared identity without decoding its payload or rerunning domain input checks. Unknown strings and NULL keep their contextual type inference.
bind_parameter_types
Bind every supplied host parameter, including unused inputs. Procedural variables have already been admitted and keep their separate, lazy expression semantics.
create_array_parameter_with_control
Construct a typed array with explicit SQL bounds and row-major parameters. Every source identity binds before any input callback; conversion and outer-domain validation belong to the caller’s statement scope.
create_multirange_parameter_with_control
Normalize copied, typed members without re-input of admitted catalog values. A NULL member is an error; an empty slice constructs a present empty multirange.
create_range_parameter_with_control
Bind both source identities before endpoint input; conversion, selected canonical support and the outer domain execute in the caller’s statement scope.
create_record_parameter_with_control
Bind every source before converting fields in live attribute order. The caller supplies the statement scope for input callbacks and enclosing domain constraints.
create_typed_parameter_with_control
Resolve a type declaration and read one external text or SQL NULL value. The caller owns the statement/catalog scope; domain constraints and other input callbacks execute within that scope.