コード例 #1
0
ファイル: Database.php プロジェクト: jwdeitch/components
 /**
  * Get instance of DeleteBuilder associated with current Database.
  *
  * @param string $table Table where rows should be deleted from.
  * @param array  $where Initial set of where rules specified as array.
  * @return DeleteQuery
  */
 public function delete($table = '', array $where = [])
 {
     return $this->driver->deleteBuilder($this, compact('table', 'where'));
 }