DeleteResult.deletedCount

Note:

The content in this help topic pertains to SuiteScript 2.1.

Property Description

The number of documents deleted.

The value is 0 when no document matches.

Type

number

Supported Script Types

Server scripts

Module

N/dataStore Module

Parent Object

dataStore.DeleteResult

Sibling Object Members

DeleteResult Object Members

Since

2026.2

Syntax

Important:

The following code sample shows the syntax for this member. It isn't a functional example. For a complete script example, see N/dataStore Module Script Samples.

            // Add additional code
...

const value = result.deletedCount;

...
// Add additional code 

          

General Notices