You are not logged in.
Hi all,
I want to know how to retrieve the tsqlrecord fields data from json.
Json is made from tsqlrecord.getJsonValues.
TMyRec = packed record
fdata: RawByteSting;
end;
TMyRecs = array of TMyRec;
TMySQL = class(TSQLRecord)
private
ffiles: TMyRecs;
published
files: TMyRecs read ffiles wirte ffiles;
end;
..........
var MySQL, YourSQL: TMYSQL;
Lutf8: RawUtf8;
...
Lutf8 := MySQL.GetJSONValues(treu, true, soSelect);
**) Now how to fill the data to YourSQL from Lutf8?
Offline