ST_AsWKT is an alias of ST_AsText.
Syntax
Native overloads
GEOMETRY and GEOGRAPHY, the function preserves all seven OGC geometry families, EMPTY, and empty children. A NULL input returns NULL. The serializer does not change the input CRS or coordinates.
Legacy overloads
Examples
Native examples
Legacy example
Text