|
|
@ -388,7 +388,9 @@ typedef enum MDB_cursor_op { |
|
|
|
MDB_PREV_NODUP, /**< Position at last data item of previous key */ |
|
|
|
MDB_PREV_NODUP, /**< Position at last data item of previous key */ |
|
|
|
MDB_SET, /**< Position at specified key */ |
|
|
|
MDB_SET, /**< Position at specified key */ |
|
|
|
MDB_SET_KEY, /**< Position at specified key, return key + data */ |
|
|
|
MDB_SET_KEY, /**< Position at specified key, return key + data */ |
|
|
|
MDB_SET_RANGE /**< Position at first key greater than or equal to specified key. */ |
|
|
|
MDB_SET_RANGE, /**< Position at first key greater than or equal to specified key. */ |
|
|
|
|
|
|
|
MDB_PREV_MULTIPLE /**< Position at previous page and return key and up to
|
|
|
|
|
|
|
|
a page of duplicate data items. Only for #MDB_DUPFIXED */ |
|
|
|
} MDB_cursor_op; |
|
|
|
} MDB_cursor_op; |
|
|
|
|
|
|
|
|
|
|
|
/** @defgroup errors Return Codes
|
|
|
|
/** @defgroup errors Return Codes
|
|
|
@ -1095,8 +1097,9 @@ int mdb_txn_renew(MDB_txn *txn); |
|
|
|
* This flag may only be used in combination with #MDB_DUPSORT. This option |
|
|
|
* This flag may only be used in combination with #MDB_DUPSORT. This option |
|
|
|
* tells the library that the data items for this database are all the same |
|
|
|
* tells the library that the data items for this database are all the same |
|
|
|
* size, which allows further optimizations in storage and retrieval. When |
|
|
|
* size, which allows further optimizations in storage and retrieval. When |
|
|
|
* all data items are the same size, the #MDB_GET_MULTIPLE and #MDB_NEXT_MULTIPLE |
|
|
|
* all data items are the same size, the #MDB_GET_MULTIPLE, #MDB_NEXT_MULTIPLE |
|
|
|
* cursor operations may be used to retrieve multiple items at once. |
|
|
|
* and #MDB_PREV_MULTIPLE cursor operations may be used to retrieve multiple |
|
|
|
|
|
|
|
* items at once. |
|
|
|
* <li>#MDB_INTEGERDUP |
|
|
|
* <li>#MDB_INTEGERDUP |
|
|
|
* This option specifies that duplicate data items are binary integers, |
|
|
|
* This option specifies that duplicate data items are binary integers, |
|
|
|
* similar to #MDB_INTEGERKEY keys. |
|
|
|
* similar to #MDB_INTEGERKEY keys. |
|
|
|