chickadee » lmdb-lolevel » MDB_NOOVERWRITE

MDB_NOOVERWRITEconstant

enter the new key/data pair only if the key does not already appear in the database. The function will return MDB_KEYEXIST if the key already appears in the database, even if the database supports duplicates (MDB_DUPSORT).