コード例 #1
0
ファイル: Update.php プロジェクト: cgslivre/database-1
 /**
  * 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
ファイル: Update.php プロジェクト: Textalk/opis-database
 public function __construct(Connection $connection, Compiler $compiler, $from, $joins, WhereClause $clause = null)
 {
     parent::__construct($compiler, $from, $clause);
     $this->connection = $connection;
     $this->joins = $joins;
 }