class_docstr: Calls to :meth:`orion.core.io.database.AbstractDB.read`.
docstr: Query using ``_id`` key.
docstr_tok: ["Query","using","``","_id","``","key","."]
code: def test_read_with_id(self, orion_db, test_collection):
      """Query using ``_id`` key."""
      loaded_config = orion_db.read("test_collection", {"_id": 1})
      assert loaded_config == test_collection[1:2]
  
imports: import pickle
  from datetime import datetime
  import pytest
  from orion.core.io.database import Database, DatabaseError, DuplicateKeyError
  from orion.core.io.database.ephemeraldb import EphemeralDB
  from orion.core.io.database.mongodb import MongoDB
  from orion.core.io.database.pickleddb import PickledDB
  from .conftest import insert_test_collection
label_desc: Use image node_id 2 for calling the TestRead obj's underlying member method code with example usage: obj.test_read_with_id(orion_db, test_collection) without return types