ASWKB()
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)');
SELECT ST_AsText(ST_GeomFromWKB(AsWKB(@a)));
+--------------------------------------+
| ST_AsText(ST_GeomFromWKB(AsWKB(@a))) |
+--------------------------------------+
| LINESTRING(0 5,5 10,0 5) |
+--------------------------------------+