aboutsummaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authorubq323 <ubq323@ubq323.website>2023-03-19 20:39:34 +0000
committerthe lemons <citrons@mondecitronne.com>2023-03-20 22:57:38 -0500
commitba9787994770dab80403ee21539bd5bbba912d47 (patch)
tree09520983785cb031dd1a899b03f205185666034a /README.md
parent5bbf9ed81eeed87b44edffa15e3310b17918a7a7 (diff)
add #db operator for number of entries in db
Diffstat (limited to 'README.md')
-rw-r--r--README.md3
1 files changed, 3 insertions, 0 deletions
diff --git a/README.md b/README.md
index b63c4e3..e8187d3 100644
--- a/README.md
+++ b/README.md
@@ -57,3 +57,6 @@ write `value` as the value of `key` into the database.
### `pairs(db)`
returns `lmdb.next, db, nil`.
+
+## `#db`
+return the number of entries in the database.