Skip to content

Commit 7d82256

Browse files
committed
allow date functions
1 parent 0de561b commit 7d82256

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

internal/common/utils.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -170,6 +170,8 @@ var allowedFunctions = map[string]struct{}{
170170
"length": {},
171171
"toUInt256": {},
172172
"if": {},
173+
"toStartOfDay": {},
174+
"toDate": {},
173175
}
174176

175177
var disallowedPatterns = []string{

0 commit comments

Comments
 (0)