api-docs / org.ktorm.support.postgresql / earthDistance
earthDistance
fun earthDistance(
p1: ColumnDeclaring<Earth>,
p2: ColumnDeclaring<Earth>
): FunctionExpression<Double>
(source code)fun earthDistance(
p1: ColumnDeclaring<Earth>,
p2: Earth
): FunctionExpression<Double>
(source code)fun earthDistance(
p1: Earth,
p2: ColumnDeclaring<Earth>
): FunctionExpression<Double>
(source code)fun earthDistance(
p1: Earth,
p2: Earth
): FunctionExpression<Double>
(source code)Returns the great circle distance between two points on the surface of the Earth.
Function from earthdistance extension, earth_distance(p1, p2)
in SQL.