From 628efb7a7fb059ee8fc68761fcfefc925e493530 Mon Sep 17 00:00:00 2001 From: Gani Georgiev Date: Mon, 7 Apr 2025 11:58:09 +0300 Subject: [PATCH] fixed geoDistance code comment --- tools/search/token_functions.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/search/token_functions.go b/tools/search/token_functions.go index c0b1c434..d59a5b64 100644 --- a/tools/search/token_functions.go +++ b/tools/search/token_functions.go @@ -11,7 +11,7 @@ var tokenFunctions = map[string]func( args ...fexpr.Token, ) (*ResolverResult, error){ // 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). // If the column identifier cannot be resolved and converted to a numeric value, it resolves to NULL.