SELECT ST_ASTEXT(GEOM) AS GEOM FROM TABLE
astext可以用string来接收,这篇博客可以参考,https://blog.csdn.net/yelangkingwuzuhu/article/details/126364080