Module ord_lmdb_zero::put
source · [−]Expand description
Flags used when calling the various put
functions.
Structs
Flags used when calling the various put
functions.
Constants
Append the given key/data pair to the end of the database. This
option allows fast bulk loading when keys are already known to
be in the correct order. Loading unsorted keys with this flag
will cause a KEYEXIST
error.
As with APPEND
above, but for sorted dup data.
Enter the new key/data pair only if it does not already appear
in the database. This flag may only be specified if the
database was opened with DUPSORT
. The function will return
KEYEXIST
if the key/data pair already appears in the
database.
Enter the new key/data pair only if the key does not already
appear in the database. The function will return KEYEXIST
if
the key already appears in the database, even if the database
supports duplicates (DUPSORT
).