You are not logged in.
Pages: 1
Hello.
I am adding mORMot2 support to my project.
I met a pitfall. I attach an example of a project with an error. The variant with the error is controlled via a define "Test".
In mORMot1 I had a line code, which compile well in mORMot2, but doesn't work without a property ORM
ClientDB.OneFieldValue(TSQLRecordNames,'ID','Name=?',[],[StringToUTF8('Name3')]);
and a line
ClientDB.ExecuteJson([TSQLRecordNames],'SELECT * FROM Names')));
works equally well with and without a property ORM
https://drive.google.com/file/d/1MSuvW9 … sp=sharing
Last edited by Alek (2022-07-19 10:50:40)
Offline
Pages: 1