Documentation

No matching pages.

API

Config

Facade

Lifecycle

Class: MySqlSchemaProvider

Full name: Azera\Sync\Schema\MySqlSchemaProvider

Public methods

__construct() ·

public function __construct(PDO $pdo): mixed

Parameters

Name Type Default Description
$pdo PDO -

Return value

  • Type: mixed

listTables() ·

public function listTables(string|null $schema = null): array

Parameters

Name Type Default Description
$schema string|null null

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

Return value


Back to the Index