Author : Justin Bailey (jgbailey AT gmail DOT com) Pretty printing for Query, PrimQuery, and SqlSelect values. Useful for debugging the library.
Optimize the query and pretty print the primitive representation.
Pretty print the primitive representation of an unoptimized query.
Take a query, turn it into a SqlSelect and print it, with optimizations.