64 if (
key &&
key != key_bytes.mv_size)
67 if (
value && (value_bytes.mv_size %
value != 0 || value_bytes.mv_size == 0))
int mdb_cursor_count(MDB_cursor *cursor, mdb_size_t *countp)
Return count of duplicates for current key.
mdb_size_t count(MDB_cursor *cur)
MDB_cursor_op
Cursor Get operations.
int mdb_cursor_get(MDB_cursor *cursor, MDB_val *key, MDB_val *data, MDB_cursor_op op)
Retrieve by cursor.
struct MDB_cursor MDB_cursor
Opaque structure for navigating through a database.
Generic structure used for passing keys and data in and out of the database.
const GenericPointer< typename T::ValueType > T2 value
#define ELECTRONEUM_THROW(code, msg)
constexpr epee::span< const std::uint8_t > to_byte_span(MDB_val value) noexcept
error
Tracks LMDB error codes.