You are here

protected function DbHelper::dofecbeda1 in MongoDB 8

db_query()->fetchField() in NodeRevisionsTest::testRevisions()

File

drivers/lib/Drupal/Driver/Database/mongodb/DbHelper.php, line 68
Contains \Drupal\Driver\Database\mongodb\TestQuery.

Class

DbHelper

Namespace

Drupal\Driver\Database\mongodb

Code

protected function dofecbeda1() {
  $args = $this->calls['query'][0][1];
  return $this->mongo
    ->get('entity_revision.node')
    ->count([
    '_id' => $args[':vid'],
    'entity_id' => $args[':nid'],
  ]);
}