typedef enum ODBPP::Mode

NameValueDescription
NONE0No mode.
DESCENDING1Used for index schema - all types - reverses the value of the field.
INVERTED2Used for index schema - CODBPP::ASTR & CODBPP::USTR types only - Inverts the string so that "abc" becomes "cba".
TO_UPPER_CASE4Used for index schema - CODBPP::ASTR & CODBPP::USTR types only - changes the casing to upper case.
TO_LOWER_CASE8Used for index schema - CODBPP::ASTR & CODBPP::USTR types only - changes the casing to lower case - used when there are more lower case character than upper case.
TOKEN_FIELD16Used for index schema - all types - used in token list indexes for the field which are to be tokenized.
REMOVE_WHITE_SPACES32Used for index mode - CODBPP::ASTR & CODBPP::USTR types only - removes white spaces from the string so that "a b\tcd\r\nef" becomes "abcdef".
SHAREDn/aUsed when opening a database - to allow other transaction share access.
EXCLUSIVEn/aUsed when opening a database - to allow no other transaction - required for some methods.
LOCK_FREEn/aAllows all transactions to operate concurrently without locking, but only allows read operations and does not stop other transactions from editing the database.
EQUALTOn/aUsed for index searches - finds equal to the given index value.
LESS_THANn/aUsed for index searches - finds less than the given index value.
GREATER_THANn/aUsed for index searches - finds greater than the given index value.
LESS_EQUALTOn/aUsed for index searches - finds less than or equal to the given index value.
GREATER_EQUALTOn/aUsed for index searches - finds greater than or equal to the given index value.
FIRSTn/aUsed for index searches - finds first object within the index.
LASTn/aUsed for index searches - finds last object withint the index.
NEXTn/aUsed for index searches - finds next object to the currently selected Object.
PREVIOUSn/aUsed for index searches - finds previous object to the currently selectes Object.
NO_LOCKn/aUsed for index searches - allow ReadObject method to operate without locking the resulting object.
NO_WAITn/aUsed for index searches - allow ReadObject and DeleteObject method to return without waiting for locking.
SHORT_WAITn/aUsed for index searches - allow ReadObject and DeleteObject method to return after a short waiting for locking.