code: def _get_view_record_data(self, record):
      return {
          "id": record.id,
          "name": record.name,
          "query": record.query,
      }
  
file_path: mindsdb/mindsdb/interfaces/database/views.py
imports: from mindsdb.interfaces.storage import db
  from mindsdb.interfaces.query_context.context_controller import query_context_controller
  from mindsdb.utilities.context import context
  from mindsdb.utilities.exception import EntityExistsError, EntityNotExistsError
label_desc: Use image node_id 4 for calling the ViewController obj's underlying member method code with example usage: obj._get_view_record_data(record) and returns: dict