Schema
Less than 1 minute
Schema
Methods
getSchemaName
public getSchemaName(): stringschemaExists
Checks if a schema exists in the database.
public schemaExists(?string $schemaName): boolParameters
| Parameter | Type | Description |
|---|---|---|
$schemaName | string | the name of the schema to check |
createSchema
Creates a new database schema if it does not already exist.
public createSchema(?string $schemaName): boolParameters
| Parameter | Type | Description |
|---|---|---|
$schemaName | string | the name of the schema to create |
listInformationSchema
protected listInformationSchema(string $table, array $columns, mixed $criteria, false $): voidParameters
| Parameter | Type | Description |
|---|---|---|
$table | string | |
$columns | array | |
$criteria | mixed | |
$ | false |
Generated by Hazaar API Doc Generator on Wed, 07 Jan 2026 11:29:59 +0000