How to retrieve data from geoalchemy2 Query result?

109 Views Asked by At

Code snippet

from dbinit import session
from geoalchemy2 import Geometry, func
result = session.query(func.ST_AsText('POINT(100 100)'))

How to retrieve the data from this result object?

1

There are 1 best solutions below

0
On

I have figured out the solution.

re = result.all()