Skip to content

UpsertChildrenByKeyOptions

Describes the children for BaseWriteItem.upsertChildrenByKey.

readonly children: Record<string, UpsertChildByKeyOptionsBase>

The children to create or update, keyed by their key relative to the parent.


readonly optional onConflict?: "merge" | "ignore"

The conflict policy: 'merge' writes the supplied Properties to the existing child, 'ignore' leaves it untouched. Either way the existing child is returned.

'merge'

UpsertOptionsBase.onConflict