ENDPOINT()
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 @ls = 'LineString(1 2,2 3,3 5,5 6)';
SELECT ST_AsText(EndPoint(ST_GeomFromText(@ls)));
+-------------------------------------------+
| ST_AsText(EndPoint(ST_GeomFromText(@ls))) |
+-------------------------------------------+
| POINT(5 6) |
+-------------------------------------------+