st_asbinary()

Returns the Well-Known Binary (WKB) representation of the geometry

Alias of st_aswkb()

Arguments & returns

st_asbinary(geom)

Scalar
Overload link geom Returns
#01 GEOMETRY BLOB

Example

st_asbinary example
SQL
Haybarn WASM 1.5.5-rc3 · In your browser

Guide example · Run to view results.

Catalog examples

SELECT
  st_asbinary (
    ST_GeomFromWKB (X'01010000000000000000000000000000000000000000000000000')
  );