From 085ba565b24ef50e2c0e51fea9973b8bf58f87a7 Mon Sep 17 00:00:00 2001 From: Tobie Morgan Hitchcock Date: Mon, 2 Apr 2018 23:44:51 +0100 Subject: [PATCH] The SQL function string.reverse should take 1 argument --- sql/funcs.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sql/funcs.go b/sql/funcs.go index 1657ac70..9b173e1f 100644 --- a/sql/funcs.go +++ b/sql/funcs.go @@ -208,7 +208,7 @@ var funcs = map[string]map[int]interface{}{ "string.lowercase": {1: nil}, "string.repeat": {2: nil}, "string.replace": {3: nil}, - "string.reverse": {3: nil}, + "string.reverse": {1: nil}, "string.search": {2: nil}, "string.slice": {3: nil}, "string.split": {2: nil},