Property | Type | Description | |
---|---|---|---|
$config | |||
$connection | |||
$driver | LazyRecord\QueryDriver |
Method | Description | |
---|---|---|
__construct ( PDO $connection, |
||
getTableSchemaMap ( ) | Find all user-defined schema. | |
getTables ( ) : string[] | Implements the query to parse table names from database. | |
reverseTableSchema ( $table, $referenceSchema = null ) : |
Implements the logic to reverse table definition to DeclareSchema object. | |
typenameToIsa ( $typeName ) |
public __construct ( PDO $connection, |
||
$connection | PDO | |
$driver |
abstract public getTables ( ) : string[] | ||
return | string[] | table names |
abstract public reverseTableSchema ( $table, $referenceSchema = null ) : |
||
return |
protected Connection,LazyRecord $connection | ||
return |