## Sequence Commands

> berkdb sequence [-auto_commit] [-txn txnid] [-create]
Implements DBENV->sequence function. The above options have the usual meanings.
[-cachesize]
Set the size of the cache in this handle.
[-inc]
Sequence increments..
[-dec]
Sequence decrements.
[-init integer]
Set the initial value for sequence.
[-max integer]
Set the maximum value for the sequence.
[-max integer]
Set the minimum value for the sequence.
[-wrap]
Wrap around at max or min.
db key
Database handle and key of sequence.

> seq get [-txn txn] [-auto_commit] [-nosync] delta
Get the nexted sequence value and increment the sequence by delta.

> seq close
Close the sequence

> seq remove [-auto_commit] [-nosync] [-txn]
Remove the sequence.

> seq get_cachesize
Return the size of the cache.

> seq get_db
Return the underlying db handle.

> seq get_flags
Return the flags set on create.

> seq get_range
Return the min and max set at create.

> seq stat
Implements the SEQUENCE->stat function.