Berkeley DB: db 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++

### db count |

`

###

    db count key

### Description(db count)

The db count command returns a count of the number of duplicate data items for the key given. If the key does not exist, a value of 0 is returned. If there are no duplicates, or if the database does not support duplicates, but a key/data pair exists, a value of 1 is returned. If an error occurs, a Berkeley DB error message is returned or a Tcl error is thrown.

`

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