Retrieves a list of indexes for a given table or all tables in the specified schema.
public listIndexes(?string $tableName): void
Parameter | Type | Description |
---|
$tableName | string | The name of the table. If null, all tables in the schema will be considered. |
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 = false): bool
Parameter | Type | Description |
---|
$indexName | string | |
$ifExists | bool | |
Generated by Hazaar API Doc Generator