You are not logged in.
After last commits, if I map existing primary key field of an external database's table to be the 'ID' in mormot2, when I use RetrieveListJson I am getting the original name as primary key and not the 'ID' or 'RowID' in the produced json
I am mapping the existing primary key field name with: ExternalDB.MapField('ID','myfieldname');
Before last commits, RetrieveListJson returned:
["ID":1,....
Now it returns:
["myfieldname":1,....
The problem start fromlast commit 0f9f409205e340031fec3da8e709ba246dc9e845
Last edited by dcoun (2023-02-18 19:42:35)
Offline
You are right!
It should be fixed now with
https://github.com/synopse/mORMot2/commit/b398d759
Sorry for the regression.
Offline
Thanks a lot @ab
Offline