Table of Contents

TDBParam.Create Constructor

Overloads

TDBParam.Create(string, TFieldType)

Creates a TDBParam with the given name and type, with no value assigned.

Syntax

Unit: Aurelius.Drivers.Interfaces

constructor TDBParam.Create(const PName: string; PType: TFieldType);

Parameters

<-> Parameter Type Description
const PName string The parameter name as referenced in the SQL statement.
PType TFieldType The field type that determines how the value is bound to the statement.

See also

TDBParam.Create(string, TFieldType, Variant)

Creates a TDBParam with the given name, type, and a single value.

Syntax

Unit: Aurelius.Drivers.Interfaces

constructor TDBParam.Create(const PName: string; PType: TFieldType; const PValue: Variant);

Parameters

<-> Parameter Type Description
const PName string The parameter name as referenced in the SQL statement.
PType TFieldType The field type that determines how the value is bound to the statement.
const PValue Variant The value to bind to the parameter.

See also

TDBParam.Create(string, TFieldType, TDBParamValues)

Creates a TDBParam with the given name, type, and an array of values for batch execution.

Syntax

Unit: Aurelius.Drivers.Interfaces

constructor TDBParam.Create(const PName: string; PType: TFieldType; const AValues: TDBParamValues);

Parameters

<-> Parameter Type Description
const PName string The parameter name as referenced in the SQL statement.
PType TFieldType The field type that determines how the value is bound to the statement.
const AValues TDBParamValues The array of values, one entry per row in the batch.

See also