Retrieves a list of indexes for a given table or all tables in the specified schema.
public listIndexes(?string $tableName, false $): void
| Parameter | Type | Description |
|---|
$tableName | string | The name of the table. If null, all tables in the schema will be considered. |
$ | false | |
public indexExists(string $indexName, ?string $tableName): bool
| Parameter | Type | Description |
|---|
$indexName | string | |
$tableName | string | |
public createIndex(string $indexName, string $tableName, mixed $idxInfo): bool
| Parameter | Type | Description |
|---|
$indexName | string | |
$tableName | string | |
$idxInfo | mixed | |
public dropIndex(string $indexName, bool $ifExists): bool
| Parameter | Type | Description |
|---|
$indexName | string | |
$ifExists | bool | |
Generated by Hazaar API Doc Generator on Wed, 07 Jan 2026 11:29:59 +0000