1 cache.inc BackdropDatabaseCache::deletePrefix($prefix)

Implements BackdropCacheInterface::deletePrefix().

Overrides BackdropCacheInterface::deletePrefix

File

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

Class

BackdropDatabaseCache
Defines a default cache implementation.

Code

function deletePrefix($prefix) {
  db_delete($this->bin)
    ->condition('cid', db_like($prefix) . '%', 'LIKE')
    ->execute();
}