Interface: SchemaProvider
Full name: Azera\Sync\Schema\SchemaProvider
Public methods
listTables() ·
public function listTables(string|null $schema = null): array
Parameters
| Name | Type | Default | Description |
|---|---|---|---|
$schema |
string|null | null |
Database schema to scan (used by PostgreSQL; ignored by MySQL/SQLite). When null the provider falls back to its engine default. |
Return value
- Type:
array
getTableSchema() ·
public function getTableSchema(string $table, string|null $schema = null): Azera\Sync\Schema\TableSchema
Parameters
| Name | Type | Default | Description |
|---|---|---|---|
$table |
string | - | |
$schema |
string|null | null |
Database schema (used by PostgreSQL; ignored by MySQL/SQLite). When null the provider falls back to its engine default. |
Return value
- Type: TableSchema