pub unsafe extern "C" fn mdb_cursor_count(
    cursor: *mut MDB_cursor,
    countp: *mut usize
) -> c_int
Expand description

@brief Return count of duplicates for current key.

This call is only valid on databases that support sorted duplicate data items #MDB_DUPSORT. @param[in] cursor A cursor handle returned by #mdb_cursor_open() @param[out] countp Address where the count will be stored @return A non-zero error value on failure and 0 on success. Some possible errors are:

  • EINVAL - cursor is not initialized, or an invalid parameter was specified.