From 70dfe88dff47d17527e1bf6f128628b7c737ece3 Mon Sep 17 00:00:00 2001 From: Tobie Morgan Hitchcock Date: Mon, 17 May 2021 17:59:50 +0100 Subject: [PATCH] Add additional geo functions --- src/sql/function.rs | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/sql/function.rs b/src/sql/function.rs index 594d337c..45397b59 100644 --- a/src/sql/function.rs +++ b/src/sql/function.rs @@ -161,9 +161,15 @@ fn function_count(i: &str) -> IResult<&str, &str> { fn function_geo(i: &str) -> IResult<&str, &str> { alt(( + tag("geo::area"), + tag("geo::bearing"), + tag("geo::center"), + tag("geo::centroid"), + tag("geo::circle"), tag("geo::distance"), tag("geo::latitude"), tag("geo::longitude"), + tag("geo::midpoint"), tag("geo::hash::decode"), tag("geo::hash::encode"), ))(i)