{:select [:name :age] :from {:people :p} :where [:> :age 10]}
{:from {:people :p} :select [:name :age] :where [:> :age 10]}
{:where [:> :age 10] :select [:name :age] :from {:people :p}}
Queries as data structures are very versatile, since you can use the language constructs to compose them.
Queries as strings (FROM-first or not) are still strings which are hard to compose without breaking the syntax.
Queries as data structures are very versatile, since you can use the language constructs to compose them.
Queries as strings (FROM-first or not) are still strings which are hard to compose without breaking the syntax.