#1 Re: mORMot 2 » Connection To PostGress » 2025-04-14 09:41:12

yes , i use it , how to fix ID instead of RowID

#2 mORMot 2 » Connection To PostGress » 2025-04-12 14:23:18

FatimaEzzahraa14
Replies: 2

When I connect to an external database like PostgreSQL, when using the MultiFieldsValues function, it returns RowId instead of ID.
why

#3 Re: mORMot 2 » IDocList/IdocDict » 2025-03-08 09:53:13

want to extract the elements that do not have a key.
is that possible?

#4 mORMot 2 » IDocList/IdocDict » 2025-03-07 15:46:06

FatimaEzzahraa14
Replies: 2

I am using the Objects property of IdocList.

For example:
var dL: IdocList;
for var d: IdocDicts in dl.Objects('Name=', '')
I found that it skips the d objects that do not have a 'Name'."

It seems like you're trying to iterate through an IdocList and filter or process objects based on their 'Name' property, but the issue is that objects without a 'Name' are being skipped.

#5 mORMot 2 » Search in DocVariantData » 2025-02-27 16:23:48

FatimaEzzahraa14
Replies: 1

exampel :

var dcTest : TDcoVariantData

dcTest := Doc.InitArray([
                  Doc.InitObject(['test', 14]),
                 Doc.InitObject(['test', 41])
             ]);

who to check if the value of 'test' equals 41 in DocVariantData.

Board footer

Powered by FluxBB