#1 2022-07-19 10:34:00

Alek
Member
From: Russia
Registered: 2014-07-04
Posts: 44

OneFieldValue mORMot2

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

Board footer

Powered by FluxBB