ADO.NET Provider for Couchbase

Build 23.0.8839

UpdateNullValues

Determines whether an UPDATE writes NULL values as NULL, or removes them.

Data Type

bool

Default Value

true

Remarks

By default the provider 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 provider 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 provider 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 23.0.8839