class_docstr: Calls to :meth:`orion.core.io.database.AbstractDB.read`.
docstr: Fetch value(s) from an entry.
docstr_tok: ["Fetch","value","(","s",")","from","an","entry","."]
code: def test_read_default(self, orion_db, test_collection):
      """Fetch value(s) from an entry."""
      value = orion_db.read(
          "test_collection",
          {"field1": "same1", "same_comp.ound": "same_compound"},
          selection={"unique_comp": 1, "_id": 0},
      )
      assert value == [
          {"unique_comp": test_collection[0]["unique_comp"]},
          {"unique_comp": test_collection[2]["unique_comp"]},
      ]
  
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 3 for calling the TestRead obj's underlying member method code with example usage: obj.test_read_default(orion_db, test_collection) without return types