fixed geoDistance code comment
This commit is contained in:
@@ -11,7 +11,7 @@ var tokenFunctions = map[string]func(
|
|||||||
args ...fexpr.Token,
|
args ...fexpr.Token,
|
||||||
) (*ResolverResult, error){
|
) (*ResolverResult, error){
|
||||||
// geoDistance(lonA, latA, lonB, latB) calculates the Haversine
|
// geoDistance(lonA, latA, lonB, latB) calculates the Haversine
|
||||||
// distance between 2 coordinates in metres (https://www.movable-type.co.uk/scripts/latlong.html).
|
// distance between 2 coordinates in kilometres (https://www.movable-type.co.uk/scripts/latlong.html).
|
||||||
//
|
//
|
||||||
// The accepted arguments at the moment could be either a plain number or a column identifier (including NULL).
|
// The accepted arguments at the moment could be either a plain number or a column identifier (including NULL).
|
||||||
// If the column identifier cannot be resolved and converted to a numeric value, it resolves to NULL.
|
// If the column identifier cannot be resolved and converted to a numeric value, it resolves to NULL.
|
||||||
|
|||||||
Reference in New Issue
Block a user