Свойство | Type | Description | |
---|---|---|---|
$builder | LazyRecord\SqlBuilder\BaseBuilder | ||
$connection | object | ||
$driver | QueryDriver | ||
$logger | CLIFramework\Logger |
Méthode | Description | |
---|---|---|
__construct ( PDO $connection, |
||
alterTable ( $arg ) | ||
executeQuery ( SQLBuilder\ToSqlInterface $query ) | executeQuery method execute the query for objects that supports SQLBuilder\ToSqlInterface. | |
executeSql ( $sql ) | Deprecated, use query method instead. | |
importSchema ( $schema ) | ||
query ( string $sql, $title = '' ) | Execute sql for migration. |
Méthode | Description | |
---|---|---|
showSql ( $sql, $title = '' ) |
public __construct ( PDO $connection, |
||
$connection | PDO | |
$driver | ||
$logger | CLIFramework\Logger |
public executeQuery ( SQLBuilder\ToSqlInterface $query ) | ||
$query | SQLBuilder\ToSqlInterface |
protected LazyRecord\SqlBuilder\BaseBuilder $builder | ||
Résultat | LazyRecord\SqlBuilder\BaseBuilder |