class_docstr: Wrapper for AST query.
  Intended to ind, track, update last values in query
class_docstr_tok: ["Wrapper","for","AST","query",".","Intended","to","ind",",","track",",","update","last","values","in","query"]
docstr: Return information about LAST columns in query
  :return:
docstr_tok: ["Return","information","about","LAST","columns","in","query",":","return",":"]
code: def get_last_columns(self) -> List[dict]:
      """
      Return information about LAST columns in query
      :return:
      """
      return [
          {
              "table": info["table"],
              "table_name": table_name,
              "column_name": info["column"],
              "target_idx": info["target_idx"],
          }
          for table_name, info in self.last_tables.items()
      ]
  
file_path: mindsdb/mindsdb/interfaces/query_context/last_query.py
imports: from typing import Union, List
  import copy
  from collections import defaultdict
  from mindsdb_sql.parser.ast import Identifier, Select, BinaryOperation, Last, Constant, Star, ASTNode, NullConstant, OrderBy
  from mindsdb_sql.planner.utils import query_traversal
label_desc: Use image node_id 4 for calling the LastQuery obj's underlying member method code with example usage: obj.get_last_columns() and returns: unknown