You are not logged in.
Pages: 1
Hello AB
I play with SMS and mORMot and I think this code is wrong (SynCrossPlatformREST.pas):
constructor TSQLRecord.Create(aClient: TSQLRest;
const FieldNames, SQLWhere: string; const BoundsSQLWhere: array of const);
begin
Create;
if aClient<>nil then
aClient.Retrieve(SQLWhere,FieldNames,BoundsSQLWhere,self);
end;
replace it with:
constructor TSQLRecord.Create(aClient: TSQLRest;
const FieldNames, SQLWhere: string; const BoundsSQLWhere: array of const);
begin
Create;
if aClient<>nil then
aClient.Retrieve(FieldNames,SQLWhere,BoundsSQLWhere,self);
end;
Thanks for this great framework!
regards
Offline
I've just fixed the overloaded constructor TSQLRecord.Create() constructor.
See http://synopse.info/fossil/info/9927e155a
Thanks a lot for the patch!
Offline
Pages: 1