
enum ODBPP::Mode
| Name | Value | Description |
|---|---|---|
| NONE | 0 | No mode. |
| DESCENDING | 1 | Used for index schema - all types - reverses the value of the field. |
| INVERTED | 2 | Used for index schema - CODBPP::ASTR & CODBPP::USTR types only - Inverts the string so that "abc" becomes "cba". |
| TO_UPPER_CASE | 4 | Used for index schema - CODBPP::ASTR & CODBPP::USTR types only - changes the casing to upper case. |
| TO_LOWER_CASE | 8 | Used 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_FIELD | 16 | Used for index schema - all types - used in token list indexes for the field which are to be tokenized. |
| REMOVE_WHITE_SPACES | 32 | Used for index mode - CODBPP::ASTR & CODBPP::USTR types only - removes white spaces from the string so that "a b\tcd\r\nef" becomes "abcdef". |
| SHARED | n/a | Used when opening a database - to allow other transaction share access. |
| EXCLUSIVE | n/a | Used when opening a database - to allow no other transaction - required for some methods. |
| LOCK_FREE | n/a | Allows all transactions to operate concurrently without locking, but only allows read operations and does not stop other transactions from editing the database. |
| EQUALTO | n/a | Used for index searches - finds equal to the given index value. |
| LESS_THAN | n/a | Used for index searches - finds less than the given index value. |
| GREATER_THAN | n/a | Used for index searches - finds greater than the given index value. |
| LESS_EQUALTO | n/a | Used for index searches - finds less than or equal to the given index value. |
| GREATER_EQUALTO | n/a | Used for index searches - finds greater than or equal to the given index value. |
| FIRST | n/a | Used for index searches - finds first object within the index. |
| LAST | n/a | Used for index searches - finds last object withint the index. |
| NEXT | n/a | Used for index searches - finds next object to the currently selected Object. |
| PREVIOUS | n/a | Used for index searches - finds previous object to the currently selectes Object. |
| NO_LOCK | n/a | Used for index searches - allow ReadObject method to operate without locking the resulting object. |
| NO_WAIT | n/a | Used for index searches - allow ReadObject and DeleteObject method to return without waiting for locking. |
| SHORT_WAIT | n/a | Used for index searches - allow ReadObject and DeleteObject method to return after a short waiting for locking. |
Listen All
Comments (0)

