Cmdlets for Couchbase

Build 24.0.9062

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 本製品 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 本製品 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 本製品 may not detect that the field exists if it is removed from enough documents within a bucket.

Copyright (c) 2024 CData Software, Inc. - All rights reserved.
Build 24.0.9062