I want put this query into code:
select * from st_geomfromtext('POINT(106.69588536141288 10.782847409207672)')
Here is what I did in code:
class st_geomfromtext(GenericFunction):
name = 'st_geomfromtext'
query = Session.query(func.st_geomfromtext('POINT(106.69588536141288 10.782847409207672)')).all()
Here is what I receive:
LINE 1: SELECT st_geomfromtext('POINT(106.69588536141288 10.78284740...
^
HINT: No function matches the given name and argument types. You might need to add explicit type casts.
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…