UpdateNullValues Parameter (Connect-Couchbase Cmdlet)
Determines whether an UPDATE writes NULL values as NULL, or removes them.
Syntax
Connect-Couchbase -UpdateNullValues bool
Data Type
bool
Default Value
true
Remarks
By default the cmdlet will use NULL values provided in an UPDATE statement and set the field in Couchbase to NULL.
If this option is disabled SQL NULL values in an UPDATE will cause the cmdlet to mark the field as MISSING. This removes the field from the object containing it, or if the field is contained in an array (per FlattenArrays) then that element is set to NULL.
This option should be used with care as the cmdlet may not detect that the field exists if it is removed from enough documents within a bucket.