Declaration

function GetRecordFieldForFilter(aField: Integer; aData: PnxByteArray; out aType: TnxWord16; out aSize: TnxWord16; out aIsNull: Boolean; out aValue: Pointer): Boolean; overload;

 
Description

Given a record buffer, returns the pointer to the field data. Be careful because aValue is NOT a copy of the data but a pointer into the actual record buffer. This is a VERY fast method to access the raw field data.

 
Parameters

aField: Integer

the index of the field in the list of Field Descriptors.

aData: PnxByteArray

a pointer to the record buffer.

out aType: TnxWord16

returns the field type.

out aSize: TnxWord16

returns the data size of the field.

out aIsNull: Boolean

is set to true if the field is null. no data is written to aValue in this case

out aValue: Pointer

a pointer to a buffer to receive the field data.

Home | Site Contents | Documentation | NexusDB Manual V4 | Class Reference | Symbol Reference | Classes | TnxFieldsDescriptor