Closed r0man closed 13 years ago
The following statement
(-> (table :continents) (sort [(str "distance(location, ST_GeomFromText('SRID=4326;POINT(0 0)'))")]))
should compile to
SELECT continents.* FROM continents ORDER BY distance(location, ST_GeomFromText('SRID=4326;POINT(0 0)')) ASC
instead of
SELECT continents.* FROM continents ORDER BY continents.distance(location, ST_GeomFromText('SRID=4326;POINT(0 0)')) ASC
The orderlist-fix branch contains a fix, which also generates uppercase ASC and DESC modifiers.
Fix merged into master after IRC discussion ...
The following statement
should compile to
instead of
The orderlist-fix branch contains a fix, which also generates uppercase ASC and DESC modifiers.