BuildPKParams

Class: TMMScript


function BuildPKParams(ADataSet: TDataSet; ASkipIdx: Integer; const ASrcTable: string): TJSONArray;

Builds the APKParams array for FetchBlob from the current row of ADataSet.

Parameter Meaning
ASkipIdx 0-based index of the BLOB column to exclude from the PK array
ASrcTable Only columns from this source table are included

Uses Columns[I].SourceName to avoid EDB disambiguation suffixes.
Caller owns the returned TJSONArray.

See Also

(C) 2026 Easygate, Lda