Parameter
class in package klyn.data

    public final class Parameter<T>:

Parameter

Immutable descriptor for one explicitly late-bound KQL parameter.

Ordinary lexical values are captured when a query is created. Use a `Parameter<T>` only when one immutable query plan must be rebound to different values.

Example

    minimum = Parameter<Int>("minimum")
    bound = query.bind(minimum, 10)

Properties

Modifier and Type | Member | Description
--- | --- | ---
public readonly property | name `name as String` | Stable parameter name used by diagnostics and provider plans.

Constructors

Modifier and Type | Member | Description
--- | --- | ---
public | Parameter `Parameter(name as String):` | Creates a named parameter descriptor.

Methods

Modifier and Type | Member | Description
--- | --- | ---
public override | toString `toString() as String:` | Returns the readable parameter notation.