code: def dbRestore(self, db_value, context=None):
          
          if db_value is not None:
              jdata = super(QueryColumn, self).dbRestore(db_value, context=context)
              return orb.Query.fromJSON(jdata)
          else:
              return db_value
docs: Converts a stored database value to Python.
  
          :param py_value: <variant>
          :param context: <orb.Context>
  
          :return: <variant>