0 follower

Final Class Yiisoft\Db\Oracle\QueryBuilder

InheritanceYiisoft\Db\Oracle\QueryBuilder » Yiisoft\Db\QueryBuilder\AbstractQueryBuilder

Implements the Oracle Server specific query builder.

Public Methods

Hide inherited methods

Method Description Defined By
__construct() Yiisoft\Db\Oracle\QueryBuilder

Constants

Hide inherited constants

Constant Value Description Defined By
FALSE_VALUE "'0'" Yiisoft\Db\Oracle\QueryBuilder
TRUE_VALUE "'1'" Yiisoft\Db\Oracle\QueryBuilder

Method Details

Hide inherited methods

__construct() public method

public mixed __construct ( \Yiisoft\Db\Connection\ConnectionInterface $db )
$db \Yiisoft\Db\Connection\ConnectionInterface

                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),
    );
}

            
createSqlParser() protected method

protected Yiisoft\Db\Oracle\SqlParser createSqlParser ( string $sql )
$sql string

                protected function createSqlParser(string $sql): SqlParser
{
    return new SqlParser($sql);
}

            
prepareBinary() protected method

protected string prepareBinary ( string $binary )
$binary string

                protected function prepareBinary(string $binary): string
{
    return "HEXTORAW('" . bin2hex($binary) . "')";
}