public function DatabaseStorageSortedSet::getCount in Key-value Extensions 8
Return value
integer
Overrides DatabaseStorageSortedBase::getCount
File
- src/
KeyValueStore/ DatabaseStorageSortedSet.php, line 46
Class
Namespace
Drupal\key_value\KeyValueStoreCode
public function getCount() {
return $this->connection
->select($this->table, 't')
->condition('collection', $this->collection)
->countQuery()
->execute()
->fetchField();
}