MDB_val class
@brief Generic structure used for passing keys and data in and out of the database.
Values returned from the database are valid only until a subsequent update operation, or the end of the transaction. Do not modify or free them, they commonly point into the database itself.
Key sizes must be between 1 and #mdb_env_get_maxkeysize() inclusive. The same applies to data sizes in databases with the #MDB_DUPSORT flag. Other data items can in theory be from 0 to 0xffffffff bytes long.
- Inheritance
- Implemented types
- Available extensions
Constructors
- MDB_val()
Properties
-
address
→ Pointer<
T> -
Available on T, provided by the StructAddress extension
The memory address of the underlying data.no setter - hashCode → int
-
The hash code for this object.
no setterinherited
-
mv_data
↔ Pointer<
Void> -
< address of the data item
getter/setter pair
- mv_size ↔ int
-
< size of the data item
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited