enum
LMDB::AbstractCursor::PutFlags
Defined in:
lmdb/cursor.crEnum Members
-
Current =
64 -
Replace the item at the current cursor position. The key must be provided.
-
NoDupData =
32 -
Store the record only if it does not appear in the database.
-
NoOverwrite =
16 -
Store the record only if the key does not already appear in the database. The data parameter will be set to point to the existing item.
-
Reserve =
65536 -
Reserve space for data, but don't store the given data. Returns a pointer to be fill later in the transaction.
-
Append =
131072 -
Store the record at the end of the database. Fast if keys are in the correct order.
-
AppendDup =
262144 -
As above, but for sorted duplicate data.
-
Multiple =
524288 -
Sort multiple contiguous data in a single request.
-
None =
0 -
All =
983152
Instance Method Summary
-
#append?
Returns
trueif this enum value containsAppend -
#append_dup?
Returns
trueif this enum value containsAppendDup -
#current?
Returns
trueif this enum value containsCurrent -
#multiple?
Returns
trueif this enum value containsMultiple -
#no_dup_data?
Returns
trueif this enum value containsNoDupData -
#no_overwrite?
Returns
trueif this enum value containsNoOverwrite - #none?
-
#reserve?
Returns
trueif this enum value containsReserve