From eb0bb13f0e5d8ab1a293803ca95e7ac40a11e89b Mon Sep 17 00:00:00 2001 From: Ivan Raikov Date: Tue, 27 Sep 2016 07:14:52 -0700 Subject: [PATCH] added new procedures to the documentation --- README.md | 17 ++++++++++++++++- 1 file changed, 16 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 82954e8..db06675 100644 --- a/README.md +++ b/README.md @@ -19,7 +19,10 @@ Begins LMDB transaction with optional database name. `(lmdb-end db)` Commits and ends LMDB transaction. -`(lmdb-delete dbname)` +`(lmdb-abort db)` +Aborts LMDB transaction. + +`(lmdb-delete-database dbname)` Deletes LMDB database. `(lmdb-ref db key)` @@ -37,6 +40,18 @@ Returns a list of database keys. `(lmdb-values db)` Returns a list of database values. +`(lmdb-key-len m)` +Returns the length of the current key. + +`(lmdb-value-len m)` +Returns the length of the current value. + +`(lmdb-key m buf)` +Copies the current key to the specified blob. + +`(lmdb-value m buf)` +Copies the current value to the specified blob. + `(lmdb-fold f init db)` Fold over the keys and values in the database.