ST_ASBINARY()
This page is part of MariaDB's Documentation.
The parent of this page is: Functions for MariaDB Enterprise Server
Topics on this page:
Overview
Returns the WKB representation of the given argument as a binary result.
EXAMPLES
SET @a = ST_LineFromText('LINESTRING(0 5,5 10,0 5)');
SELECT ST_AsText(ST_GeomFromWKB(ST_ASBINARY(@a)));
+--------------------------------------------+
| ST_AsText(ST_GeomFromWKB(ST_ASBINARY(@a))) |
+--------------------------------------------+
| LINESTRING(0 5,5 10,0 5) |
+--------------------------------------------+
CHANGE HISTORY
EXTERNAL REFERENCES
Additional information on this topic may be found in the MariaDB Public Knowledge Base.