docs: def raw(self, query: Any, data: Any = None):
          """Run raw queries on the database
  
          As an example of running ``raw`` queries on a Dict repository, we will run the query
          on all possible schemas, and return all results.
          """
          assert isinstance(query, str)
  
          conn = self.get_connection()
          items = []
  
          for schema_name in conn['data']:
              input_db = conn['data'][schema_name]
              try:
                  # Ensures that the string contains double quotes around keys and values
                  query = query.replace("'", "\"")
                  criteria = json.loads(query)
  
                  for key, value in criteria.items():
                      input_db = self._evaluate_lookup(key, value, False, input_db)
  
                  items.extend(list(input_db.values()))
  
              except json.JSONDecodeError:
                  # FIXME Log Exception
                  raise Exception("Query Malformed")
              except KeyError:
                  # We encountered a repository where the key was not found
                  pass
  
          return items