You are not logged in.
Pages: 1
Hello,
Just downloaded mORMot and gave it a try, the "01 - In Memory ORM" example.
It worked properly except when the Name is "hello"
TSQLSampleRecord = class(TSQLRecord)
private
fQuestion: RawUTF8;
fName: RawUTF8;
fTime: TModTime;
published
property Time: TModTime read fTime write fTime;
property Name: RawUTF8 read fName write fName;
property Question: RawUTF8 read fQuestion write fQuestion;
end;
Rec := TSQLSampleRecord.Create(Database,'Name=?',[StringToUTF8(NameEdit.Text)]);
i.e. As log as NameEdit.Text = 'Hello', the record could not be found. Why so strange?
Offline
I just tried with 'hello' and it works on our side.
Are you sure you did download the latest 1.18 unstable version?
http://synopse.info/files/mORMotNightlyBuild.zip and http://synopse.info/files/sqlite3obj.7z
As stated by http://synopse.info/fossil/wiki?name=Get+the+source
Offline
Sorry, it's my fault.
I traced and found the JSON file, I was accidentally clicked "Add" when the message box was " Not Found". Even I add other "Hello"s, it returned only the first one.
Offline
Pages: 1