public function Connection::nextId in MongoDB 8
File
- drivers/
lib/ Drupal/ Driver/ Database/ mongodb/ Connection.php, line 39
Class
Namespace
Drupal\Driver\Database\mongodbCode
public function nextId($existing_id = 0) {
return \Drupal::service('mongo')
->nextId('generic', $existing_id);
}