You are not logged in.
Hi,
I have defined
TOrmList = class(TOrm)
private
fName: RawUTF8;
fData: TSQLRawBlob;
published
property Name: RawUTF8 index 2048 read fName write fName;
property Data: TSQLRawBlob read fData write fData;
end;
and service with the following method:
function GetList(var List: T*ObjArray; const ParentID: TID): boolean;
begin
result := Server.RetrieveListObjArray(List, TOrmList, 'ID=?', [ParentID], '*');
end;
When I call this service method on client I get List w/o Blob data. If I define function to return T*ObjArray it returns array with blob data.
I thought the correct way is to get such list via var parameter. Do I something wrong?
ps. I use mormot2 and FPC 3.2.1
Alexander
Offline