You are here

public function FilebrowserStorage::genericDeleteMultiple in Filebrowser 8.2

Same name and namespace in other branches
  1. 3.x src/Services/FilebrowserStorage.php \Drupal\filebrowser\Services\FilebrowserStorage::genericDeleteMultiple()

File

src/Services/FilebrowserStorage.php, line 82

Class

FilebrowserStorage

Namespace

Drupal\filebrowser\Services

Code

public function genericDeleteMultiple($table, $col_name, $values) {
  $query = "DELETE FROM {" . $table . "} WHERE " . $col_name . " IN (" . $values . ")";
  return $this->connection
    ->query($query);
}