lmdb-zero
lmdb-zero copied to clipboard
Default behavior of Put
Hi,
I'm sorry, I've read your whole doc but I don't understand the exact behavior regarding Updates. When I update data using: lmdb_zero::put
Will it insert them by default in double or just replace them?
Thanks again
Based on the docs, I would expect that it creates or overwrites the key if the database was not created with duplicates enabled, and it creates or appends to the key if the database was created with duplicates enabled, based on the presence of the two flags that disable those behaviours.