Schema
Less than 1 minute
Schema
Methods
getSchemaName
public getSchemaName(): string
schemaExists
Checks if a schema exists in the database.
public schemaExists(?string $schemaName): bool
Parameters
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): bool
Parameters
Parameter | Type | Description |
---|---|---|
$schemaName | string | the name of the schema to create |
listInformationSchema
protected listInformationSchema(string $table, array $columns, mixed $criteria, false $): void
Parameters
Parameter | Type | Description |
---|---|---|
$table | string | |
$columns | array | |
$criteria | mixed | |
$ | false |
Generated by Hazaar API Doc Generator