Property | Type | Description | |
---|---|---|---|
$builder | LazyRecord\SqlBuilder\BaseBuilder | ||
$connection | object | ||
$driver | QueryDriver | ||
$logger | CLIFramework\Logger |
Method | 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. |
Method | 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 | ||
return | LazyRecord\SqlBuilder\BaseBuilder |