The Sequence type exposes the following members.
Close the sequence handle. Any unused cached values are lost.
Release the resources held by this object, and close the sequence if it's still open.
If there are enough cached values in the sequence handle then they will be returned. Otherwise the next value will be fetched from the database and incremented (decremented) by enough to cover the delta and the next batch of cached values.
By default, sequence ranges do not wrap; to cause the sequence to wrap around the beginning or end of its range, set Wrap to true.
Serves as a hash function for a particular type.(Inherited from Object.)
Gets the Type of the current instance.(Inherited from Object.)
The diagnostic information is described by SequenceStats.
In the presence of multiple threads or processes accessing an active sequence, the information returned by DB_SEQUENCE->stat() may be out-of-date.
The DB_SEQUENCE->stat() method cannot be transaction-protected. For this reason, it should be called in a thread of control that has no open cursors or active transactions.
The database used by the sequence.
The current cache size.
If true, the sequence will be decremented.
If true, the sequence will be incremented. This is the default.
The key for the sequence.
The maximum value in the sequence.
The minimum value in the sequence.
If true, the sequence should wrap around when it is incremented (decremented) past the specified maximum (minimum) value.