code: def query(self, query):
      '''Returns an iterable of objects matching criteria expressed in `query`
      De-serializes values on the way out, using a :ref:`deserialized_gen` to
      avoid incurring the cost of de-serializing all data at once, or ever, if
      iteration over results does not finish (subject to order generator
      constraint).
  
      Args:
        query: Query object describing the objects to return.
  
      Raturns:
        iterable cursor with all objects matching criteria
      '''
  
      # run the query on the child datastore
      cursor = self.child_datastore.query(query)
  
      # chain the deserializing generator to the cursor's result set iterable
      cursor._iterable = deserialized_gen(self.serializer, cursor._iterable)
  
      return cursof query(self, query):
      '''Returns an iterable of objects matching criteria expressed in `query`
      De-serializes values on the way out, using a :ref:`deserialized_gen` to
      avoid incurring the cost of de-serializing all data at once, or ever, if
      iteration over results does not finish (subject to order generator
      constraint).
  
      Args:
        query: Query object describing the objects to return.
  
      Raturns:
        iterable cursor with all objects matching criteria
      '''
  
      # run the query on the child datastore
      cursor = self.child_datastore.query(query)
  
      # chain the deserializing generator to the cursor's result set iterable
      cursor._iterable = deserialized_gen(self.serializer, cursor._iterable)
  
      return cursor
docs: Returns an iterable of objects matching criteria expressed in `query`
      De-serializes values on the way out, using a :ref:`deserialized_gen` to
      avoid incurring the cost of de-serializing all data at once, or ever, if
      iteration over results does not finish (subject to order generator
      constraint).
  
      Args:
        query: Query object describing the objects to return.
  
      Raturns:
        iterable cursor with all objects matching criteria