PhoenixmlDb.Core
XdmValueType
Enumerates the XDM (XQuery Data Model) value types that can be used for typed index definitions in and .
#XdmValueType
Namespace: PhoenixmlDb.Core
Enumerates the XDM (XQuery Data Model) value types that can be used for typed index definitions in
and
.
The value type determines how indexed values are stored and compared. Choosing the correct type is important: a XdmValueType.XdmDecimal index supports numeric range queries (price > 50), while an XdmValueType.XdmString index performs lexicographic comparison (where "9" > "50" is true — usually not what you want for numbers).