code: def get_all_records(self):
      records = (
          db.session.query(db.JsonStorage)
          .filter_by(
              resource_group=self.resource_group,
              resource_id=self.resource_id,
              company_id=ctx.company_id,
          )
          .all()
      )
      return records
  
file_path: mindsdb/mindsdb/interfaces/storage/json.py
imports: from mindsdb.interfaces.storage import db
  from mindsdb.interfaces.storage.fs import RESOURCE_GROUP
  from mindsdb.utilities.context import context
  from mindsdb.utilities import log
label_desc: Use image node_id 7 for calling the JsonStorage obj's underlying member method code with example usage: obj.get_all_records() and returns: records