ASWKT()
This page is part of MariaDB's Documentation.
The parent of this page is: Functions for MariaDB Enterprise Server
Topics on this page:
Overview
See ST_
EXAMPLES
SET @a = ST_LineFromText('LINESTRING(0 5,5 10,0 5)');
SET @b = ST_GeomFromText('GEOMETRYCOLLECTION EMPTY');
SELECT ST_AsWKT(@a), ST_AsWKT(@b);
+--------------------------+--------------------------+
| ST_AsWKT(@a) | ST_AsWKT(@b) |
+--------------------------+--------------------------+
| LINESTRING(0 5,5 10,0 5) | GEOMETRYCOLLECTION EMPTY |
+--------------------------+--------------------------+