fix parsing of collection bind params

This commit is contained in:
Aneurin Barker Snook
2023-10-13 07:59:04 +01:00
parent 7ae2ef1d56
commit 6f85786542
3 changed files with 12 additions and 12 deletions
+1 -1
View File
@@ -5,7 +5,7 @@ import (
)
// https://docs.arangodb.com/3.11/aql/fundamentals/bind-parameters/#syntax
var paramRegexp = regexp.MustCompile("@{1,2}([A-z0-9_]+)")
var paramRegexp = regexp.MustCompile("@(@?[A-z0-9_]+)")
// ReadParams reads out named parameters from an AQL string.
func ReadParams(input string) []string {