1 cache.inc BackdropDatabaseCache::deleteMultiple(array $cids)

Implements BackdropCacheInterface::deleteMultiple().

Overrides BackdropCacheInterface::deleteMultiple

File

core/includes/cache.inc, line 559
Functions and interfaces for cache handling.

Class

BackdropDatabaseCache
Defines a default cache implementation.

Code

function deleteMultiple(array $cids) {
  // Delete in chunks when a large array is passed.
  do {
    db_delete($this->bin)
      ->condition('cid', array_splice($cids, 0, 1000), 'IN')
      ->execute();
  } 
   while (count($cids));
}