LINESTRINGFROMTEXT()
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
CREATE TABLE geom (g LINESTRING);
SET @g = 'LINESTRING(0 5,5 10,10 15)';
INSERT INTO geom VALUES (LINESTRINGFROMTEXT(@g));
SELECT ST_AsText(g) FROM geom;
+----------------------------+
| ST_AsText(g) |
+----------------------------+
| LINESTRING(0 5,5 10,10 15) |
+----------------------------+
CHANGE HISTORY
EXTERNAL REFERENCES
Additional information on this topic may be found in the MariaDB Public Knowledge Base.