ST_Length + ST_Transform. It is equivalent to PostGIS ST_Length(geography, use_spheroid=true) and ST_LengthSpheroid function and produces nearly identical results.
Geometry must be in EPSG:4326 (WGS84) projection and must be in ==lon/lat== order. You can use ==ST_FlipCoordinates== to swap lat and lon.
By default, this function uses lon/lat order since
v1.5.0. Before, it used lat/lon order.Signatures
Parameters
The input geometry.
Return type
A numeric value.

