Skip to content

Commit

Permalink
added new procedures to the documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
iraikov committed Sep 27, 2016
1 parent dad0454 commit eb0bb13
Showing 1 changed file with 16 additions and 1 deletion.
17 changes: 16 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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)`
Expand All @@ -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.

Expand Down

0 comments on commit eb0bb13

Please sign in to comment.