chickadee » lmdb-lolevel » mdb-cursor-count

mdb-cursor-count cursorprocedure

Return count of duplicates for current key.

This call is only valid on databases that support sorted duplicate data items MDB_DUPSORT.

cursor
A cursor handle returned by (mdb-cursor-open)

Some possible error conditions:

(exn lmdb EINVAL)
cursor is not initialized, or an invalid parameter was specified.