Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Add CONTAINS and NOT CONTAINS operators
- Add 'contains' keyword to token.go
- Add ContainsStr and NotContainsStr constants to ast.go
- Add CONTAINS operator precedence and grammar rules to sql.y
- Regenerate sql.go from updated grammar

Enables substring matching: WorkflowId CONTAINS 'azure-ad'
  • Loading branch information
ArchishmanSengupta committed Nov 5, 2025
commit d82191610ac085bcdf7ffd1bfce8145f1a2dedba
2 changes: 2 additions & 0 deletions ast.go
Original file line number Diff line number Diff line change
Expand Up @@ -2113,6 +2113,8 @@ const (
NotRegexpStr = "not regexp"
StartsWithStr = "starts_with"
NotStartsWithStr = "not starts_with"
ContainsStr = "contains"
NotContainsStr = "not contains"
JSONExtractOp = "->"
JSONUnquoteExtractOp = "->>"
)
Expand Down
Loading
Loading