You are not logged in.
Pages: 1
I was wondering if it's possible for to store the whole row from BigTable and map it to a record type.
For example:
type SampleRecord = record
Name : String;
Age : Integer;
Color : String;
end;
var
MyRecord : SampleRecord;
MyRecord := BigTable.RecordGet(tIndex);
This should dramatically improve speed instead of getting field by field.
Thanks
Offline
You can do this by using the RecordLoad() / RecordSave() methods of SynCommons.pas.
See http://blog.synopse.info/post/2011/03/1 … -fast-RTTI
Offline
Pages: 1