示例#1
0
文件: Delete.php 项目: opis/database
 /**
  * Delete constructor.
  * @param Connection $connection
  * @param string|array $from
  * @param SQLStatement|null $statement
  */
 public function __construct(Connection $connection, $from, SQLStatement $statement = null)
 {
     parent::__construct($from, $statement);
     $this->connection = $connection;
 }
示例#2
0
 public function __construct(Connection $connection, Compiler $compiler, $from, $joins, WhereClause $clause = null)
 {
     parent::__construct($compiler, $from, $clause);
     $this->connection = $connection;
     $this->joins = $joins;
 }