Sequence
Less than 1 minute
Sequence
Methods
listSequences
List all sequences in the database.
public listSequences(): voidsequenceExists
Check if a sequence exists.
public sequenceExists(string $sequenceName): boolParameters
| Parameter | Type | Description |
|---|---|---|
$sequenceName | string |
describeSequence
Describe a sequence.
public describeSequence(string $name, false $): voidParameters
| Parameter | Type | Description |
|---|---|---|
$name | string | |
$ | false |
createSequence
Create a new sequence.
public createSequence(string $name, array $sequenceInfo, bool $ifNotExists): boolParameters
| Parameter | Type | Description |
|---|---|---|
$name | string | |
$sequenceInfo | array | |
$ifNotExists | bool |
dropSequence
Drop a sequence.
public dropSequence(string $name, bool $ifExists): boolParameters
| Parameter | Type | Description |
|---|---|---|
$name | string | |
$ifExists | bool |
nextSequenceValue
Get the next value from a sequence.
public nextSequenceValue(string $name): intParameters
| Parameter | Type | Description |
|---|---|---|
$name | string |
setSequenceValue
Set the value of a sequence.
public setSequenceValue(string $name, int $value): boolParameters
| Parameter | Type | Description |
|---|---|---|
$name | string | |
$value | int |
Generated by Hazaar API Doc Generator on Tue, 30 Sep 2025 00:01:37 +0000