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
Pages: 1