mirror of
https://github.com/pocketbase/pocketbase.git
synced 2026-10-08 23:37:28 +02:00
fixed geoDistance code comment
This commit is contained in:
1 parent
201e2ccb05
commit
628efb7a7f
1 file changed
+1
-1
@@ -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