Final Class Yiisoft\Db\Mssql\QueryBuilder
| Inheritance | Yiisoft\ |
|---|
Implements the MSSQL Server specific query builder.
Public Methods
| Method | Description | Defined By |
|---|---|---|
| __construct() | Yiisoft\ |
Protected Methods
| Method | Description | Defined By |
|---|---|---|
| createSqlParser() | Yiisoft\ |
Constants
| Constant | Value | Description | Defined By |
|---|---|---|---|
| FALSE_VALUE | '0' | Yiisoft\ |
|
| TRUE_VALUE | '1' | Yiisoft\ |
Method Details
| public mixed __construct ( \ | ||
| $db | \ |
|
public function __construct(ConnectionInterface $db)
{
$quoter = $db->getQuoter();
$schema = $db->getSchema();
parent::__construct(
$db,
new DDLQueryBuilder($this, $quoter, $schema),
new DMLQueryBuilder($this, $quoter, $schema),
new DQLQueryBuilder($this, $quoter),
new ColumnDefinitionBuilder($this),
);
}
| protected Yiisoft\ | ||
| $sql | string | |
protected function createSqlParser(string $sql): SqlParser
{
return new SqlParser($sql);
}
User Contributed Notes
Leave a comment
Join the conversation to share a note.