mirror of
https://github.com/minio/minio.git
synced 2025-11-07 21:02:58 -05:00
select: add MISSING operator support (#14406)
Probably not full support, but for regular checks it should work. Fixes #14358
This commit is contained in:
@@ -89,6 +89,8 @@ func (r *Record) Set(name string, value *sql.Value) (sql.Record, error) {
|
||||
v = s
|
||||
} else if value.IsNull() {
|
||||
v = nil
|
||||
} else if value.IsMissing() {
|
||||
return r, nil
|
||||
} else if b, ok := value.ToBytes(); ok {
|
||||
// This can either be raw json or a CSV value.
|
||||
// Only treat objects and arrays as JSON.
|
||||
|
||||
Reference in New Issue
Block a user