You are here

constant MongoDb::ID_PROJECTION in MongoDB 8.2

File

modules/mongodb/src/MongoDb.php, line 27

Class

MongoDb
Class MongoDb contains constants usable by all modules using the driver.

Namespace

Drupal\mongodb

Code

const ID_PROJECTION = [
  'projection' => [
    '_id' => 1,
  ],
];