enum

LMDB::AbstractCursor::PutFlags

Inherits Enum / Comparable / Value / Object

Constants

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 methods

append?

Returns true if this enum value contains Append

Source
append_dup?

Returns true if this enum value contains AppendDup

Source
current?

Returns true if this enum value contains Current

Source
multiple?

Returns true if this enum value contains Multiple

Source
no_dup_data?

Returns true if this enum value contains NoDupData

Source
no_overwrite?

Returns true if this enum value contains NoOverwrite

Source
none?
Source
reserve?

Returns true if this enum value contains Reserve

Source