drdaemos/sql-parser

Images

drdaemos opened this issue · 1 comments

@drdaemos how do you actually use the data in the node when visiting?

My class is class SelectR : QueryInfo, Visitor

 override fun visitNode(node: Node) {
    when (node) {
      is SelectList -> {
        // node has no data?
      }

How do I get the data that was associated with the node in those when blocks? or the where clause

It is just of type 'node'