예제 #1
0
 /**
  * Constructor
  * 
  * @param   Connection      $connection
  * @param   string|array    $table
  */
 public function __construct(Connection $connection, $table)
 {
     parent::__construct($connection->compiler(), $table);
     $this->connection = $connection;
 }
예제 #2
0
파일: Update.php 프로젝트: opis/database
 /**
  * Constructor
  * 
  * @param   Connection      $connection
  * @param   string|array    $table
  */
 public function __construct(Connection $connection, $table, SQLStatement $statement = null)
 {
     parent::__construct($table, $statement);
     $this->connection = $connection;
 }
예제 #3
0
 public function __construct(Connection $connection, Compiler $compiler, $from, $joins, WhereClause $clause = null)
 {
     parent::__construct($compiler, $from, $clause);
     $this->connection = $connection;
     $this->joins = $joins;
 }