I'm writing some code with Slick and I'd like to be able to print the "Slick Query Tree" - is it possible somehow?
Asked
Active
Viewed 142 times
2 Answers
2
I assume you want to see the abstract syntax tree for queries?! You can watch this movie: http://youtu.be/THlvR9bXHIc - it is also referenced at "http://slick.typesafe.com/docs/" below "Screencast 1: Introduction to the query compiler".
AFAIK you can use method toNode
and nodeChildren
in your own slick code to recursively traverse the AST.

tfh
- 620
- 1
- 4
- 14
2
We log them. See Slick logging with slf4j-simple See the available loggers here https://github.com/slick/slick/blob/master/common-test-resources/logback.xml
You'll need to look at the compiler ones.