pub unsafe fn append<A, B>(&mut self, key: A, data: B) -> Result<()>
    where
        A: AsRef<[u8]>,
        B: AsRef<[u8]>,
    {
        self.cursor.append(key.as_ref(), data.as_ref())
    }
/// Append the given key/value pair to the end of the database.
///
/// If a key is inserted that is less than any previous key a `KeyExist` error
/// is returned and the key is not inserted into the database.
///
/// # Safety
///
/// It is _[undefined behavior]_ to keep a reference of a value from this database while
/// modifying it, so you can't use the key/value that comes from the cursor to feed
/// this function.
///
/// In other words: Tranform the key and value that you borrow from this database into an owned
/// version of them i.e. `&str` into `String`.
///
/// > [Values returned from the database are valid only until a subsequent update operation,
/// or the end of the transaction.](http://www.lmdb.tech/doc/group__mdb.html#structMDB__val).
///
/// [undefined behavior]: https://doc.rust-lang.org/reference/behavior-considered-undefined.html
Append the given key/value pair to the end of the database.
If a key is inserted that is less than any previous key a `KeyExist` error
is returned and the key is not inserted into the database.
Append the given key / value pair to the end of the database . If a key is inserted that is less than any previous key a ` KeyExist ` error is returned and the key is not inserted into the database .
pub unsafe fn append<A, B>(&mut self, key: A, data: B) -> Result<()>
    where
        A: AsRef<[u8]>,
        B: AsRef<[u8]>,
    {
        self.cursor.append(key.as_ref(), data.as_ref())
    }
pub unsafe fn append < A , B > ( & mut self , key : A , data : B ) -> Result < ( ) > where A : AsRef < [ u8 ] > , B : AsRef < [ u8 ] > , { self . cursor . append ( key . as_ref ( ) , data . as_ref ( ) ) }
Append the given key/value pair to the end of the database.
Append the given key / value pair to the end of the database .
&mut self
key
A
data
B
&mut self
key
A
data
B
safety
It is _[undefined behavior]_ to keep a reference of a value from this database while
modifying it, so you can't use the key/value that comes from the cursor to feed
this function.

In other words: Tranform the key and value that you borrow from this database into an owned
version of them i.e. `&str` into `String`.

> [Values returned from the database are valid only until a subsequent update operation,
or the end of the transaction.].


It is _ [ undefined behavior ] _ to keep a reference of a value from this database while modifying it so you can ' t use the key / value that comes from the cursor to feed this function . In other words : Tranform the key and value that you borrow from this database into an owned version of them i . e . ` &str ` into ` String ` . > [ Values returned from the database are valid only until a subsequent update operation or the end of the transaction . ] .