You are here

public function KeyvalueMongodb::getAll in MongoDB 8

Returns all stored key/value pairs in the collection.

Return value

array An associative array containing all stored items in the collection.

Overrides KeyValueStoreInterface::getAll

File

src/KeyvalueMongodb.php, line 139

Class

KeyvalueMongodb
This class holds a MongoDB key-value backend.

Namespace

Drupal\mongodb

Code

public function getAll() {
  return $this
    ->getHelper();
}