-
Notifications
You must be signed in to change notification settings - Fork 130
Open
Labels
api: datastoreIssues related to the Datastore API.Issues related to the Datastore API.type: feature request‘Nice-to-have’ improvement, new feature or different behavior or design.‘Nice-to-have’ improvement, new feature or different behavior or design.
Description
Is it possible to delete records in batch using NodeJS based on condition?
Below is sample code for batch delete, but preparing taskKey1, taskKey2... etc is not a elegant as putting condition like size > 25
const keys = [taskKey1, taskKey2];
datastore.delete(keys)
.then(() => {
// Tasks deleted successfully.
});Metadata
Metadata
Assignees
Labels
api: datastoreIssues related to the Datastore API.Issues related to the Datastore API.type: feature request‘Nice-to-have’ improvement, new feature or different behavior or design.‘Nice-to-have’ improvement, new feature or different behavior or design.