Fixed st_asgeojson
see https://groups.google.com/forum/#!topic/web2py/EixMPrPr9SY
@@ -1441,7 +1441,7 @@ class Expression(object):
# GIS expressions
def st_asgeojson(self, precision=15, options=0, version=1):
- return Expression(self.db, self.db._adapter.ST_ASGEOJSON, self,
+ return Expression(self.db, self._dialect.st_asgeojson, self,
dict(precision=precision, options=options,
version=version), 'string')
