Berkeley DB Reference Guide: Access Methods
Description: Berkeley DB: An embedded database programmatic toolkit.
Keywords: embedded,database,programmatic,toolkit,b+tree,btree,hash,hashing,transaction,transactions,locking,logging,access method,access methods,java,C,C++

### Berkeley DB Reference Guide: Access Methods |

# Data item count

Once a cursor has been initialized to reference a particular key in the database, it can be used to determine the number of data items that are stored for any particular key. The DBcursor->c_count method returns this number of data items. The returned value is always one, unless the DB_DUP flag has been specified for the access method, in which case it may be any number of items.

Copyright Sleepycat Software