Skip to content

Publicize the recursiveDelete method for deleting subcollections #2267

@dandv

Description

@dandv

Please make sure you have searched for information in the following guides.

I couldn't check these guides because they're 404:

Documentation Request

Deleting a subcollection and all of its documents and their subcollections recursively is a common requirement. Yet neither of these Google resources mention recursiveDelete:

recursiveDelete has been available since v4.11.0, released May 2021. Yet Gemini Thinking doesn't know about it, and reinvents the wheel:

image

Metadata

Metadata

Assignees

Labels

api: firestoreIssues related to the googleapis/nodejs-firestore API.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions