Class: TMMScript
function FetchBlob(
const ATableName,
AColumnName: string;
APKParams: TJSONArray;
ADestField: TField = nil;
const ADestFile: string = ''): Boolean;
Downloads a single BLOB or CLOB column value.
| Parameter | Meaning |
|---|---|
ATableName |
Source table on the remote server |
AColumnName |
Source column; use Columns[I].SourceName |
APKParams |
TJSONArray of {col, val} pairs; obtain via
BuildPKParams |
ADestFile |
(Evaluated first) Save raw bytes to this path |
ADestField |
(Evaluated second) Write to this EDB field via
Edit/Post |
When both ADestFile and ADestField are
omitted, the value is saved to an auto-named file in DefaultTransferFolder
(which must be set).
Returns True on success, including NULL
values.