Berkeley DB Reference Guide: Data item count
Description: Berkeley DB: An embedded database programmatic toolkit.
Keywords: embedded,database,programmatic,toolkit,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 refer to 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->count method returns this number of data items. The returned value is always one, unless the database supports duplicate data items, in which case it may be any number of items.

Copyright (c) 1996,2008 Oracle. All rights reserved.