mirror of
https://github.com/minio/minio.git
synced 2025-11-20 18:06:10 -05:00
select: Add IS (NOT) operators (#13906)
Add `IS` and `IS NOT` as comparison operators. This may be a bit wider than the S3 spec, but we can rather easily remove the forwarding.
This commit is contained in:
@@ -184,7 +184,7 @@ type ConditionRHS struct {
|
||||
|
||||
// Compare represents the RHS of a comparison expression
|
||||
type Compare struct {
|
||||
Operator string `parser:"@( \"<>\" | \"<=\" | \">=\" | \"=\" | \"<\" | \">\" | \"!=\" )"`
|
||||
Operator string `parser:"@( \"<>\" | \"<=\" | \">=\" | \"=\" | \"<\" | \">\" | \"!=\" | \"IS\" \"NOT\" | \"IS\")"`
|
||||
Operand *Operand `parser:" @@"`
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user