diff options
| author | Paul Buetow <pbuetow@mimecast.com> | 2021-12-10 10:32:38 +0000 |
|---|---|---|
| committer | Paul Buetow <pbuetow@mimecast.com> | 2021-12-10 10:32:38 +0000 |
| commit | dd5aa7c52870f4d22d9347a1d87ccaf244df16e5 (patch) | |
| tree | 24ed2712d2a96d94f98fdc4a6bea5fb3e04e417f /internal/mapr | |
| parent | 88e999a0bbb0f34ed456ba565f67dce45590a9f5 (diff) | |
If rString is not a field name, use actual value for set condition.
Diffstat (limited to 'internal/mapr')
| -rw-r--r-- | internal/mapr/setclause.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/internal/mapr/setclause.go b/internal/mapr/setclause.go index 1843d31..bd02142 100644 --- a/internal/mapr/setclause.go +++ b/internal/mapr/setclause.go @@ -5,7 +5,7 @@ func (q *Query) SetClause(fields map[string]string) error { for _, sc := range q.Set { value, ok := fields[sc.rString] if !ok { - continue + value = sc.rString } switch sc.rType { case FunctionStack: |
