powered by
Walks the tree of ops and builds a stack.
flatten_query(op, ops = list())
the current operation
the stack of operations to append to, recursively