You are not logged in.
update: It turned out to be a logical bug in my program but not a problem of the mORMot framework. I'm sorry.
Hi Arnaud,
The code:
var
tmpTable: TSQLTableJSON;
begin
tmpTable := aDb.ExecuteList([], aSql);
end
I found that TSQLRestClientURI.Execute() returns zero rows for this SQL:
SELECT CurrentStock FROM v_Inventory WHERE (ID = 12345)
It returns zero row, but I use Sqlite Studio and it should return one row. What might be wrong?
Thanks.
Last edited by edwinsn (2015-11-03 07:02:53)
Delphi XE4 Pro on Windows 7 64bit.
Lazarus trunk built with fpcupdelux on Windows with cross-compile for Linux 64bit.
Offline
ab, what connection properties do you mean? The TSQLRestClientURI in question is already working with other type of 'select' statements...
Delphi XE4 Pro on Windows 7 64bit.
Lazarus trunk built with fpcupdelux on Windows with cross-compile for Linux 64bit.
Offline
Hi ab,
I'm really sorry, after spent hours of checking, it turned out to be a logical bug in my program but not a problem of the mORMot frame itself. I will update the original topic above.
Delphi XE4 Pro on Windows 7 64bit.
Lazarus trunk built with fpcupdelux on Windows with cross-compile for Linux 64bit.
Offline