Skip to content

Commit

Permalink
Fixed st_asgeojson (#489)
Browse files Browse the repository at this point in the history
  • Loading branch information
leonelcamara authored and mdipierro committed Aug 16, 2017
1 parent 455f421 commit dcb5ba4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pydal/objects.py
Original file line number Diff line number Diff line change
Expand Up @@ -1441,7 +1441,7 @@ def with_alias(self, alias):
# 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')

Expand Down

0 comments on commit dcb5ba4

Please sign in to comment.