Skip to content

SpiCommand

Namespace: Ankus

Assembly: Ankus.Runtime.dll

Owns SQL text and declared positional bindings created by parameterized interpolation. Native datum parameters retain their existing owner and callback lifetime requirements.

public readonly struct SpiCommand

Gets SQL text containing positional placeholders rather than formatted parameter values.

public string CommandText { get; }

Value: string

Exceptions:

Gets the ordered typed bindings. Mutable managed values and native owners follow SpiParameter’s lifetime rules.

public ReadOnlySpan<SpiParameter> Parameters { get; }

Value: ReadOnlySpan<SpiParameter>