Skip to content

Publicize the recursiveDelete method for deleting subcollections #2267

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
4 of 6 tasks
dandv opened this issue Dec 30, 2024 · 1 comment
Open
4 of 6 tasks

Publicize the recursiveDelete method for deleting subcollections #2267

dandv opened this issue Dec 30, 2024 · 1 comment
Assignees
Labels
api: firestore Issues related to the googleapis/nodejs-firestore API.

Comments

@dandv
Copy link

dandv commented Dec 30, 2024

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

@product-auto-label product-auto-label bot added the api: firestore Issues related to the googleapis/nodejs-firestore API. label Dec 30, 2024
@milaGGL milaGGL self-assigned this Jan 2, 2025
@milaGGL
Copy link
Contributor

milaGGL commented Jan 6, 2025

Hi @dandv, thank you for reporting this issue. There is an internal ticket created for better documentation for the BulkWriter's, including the recursive delete. I will keep this thread updated once there is a progress.

Googler please see b/328629755.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
api: firestore Issues related to the googleapis/nodejs-firestore API.
Projects
None yet
Development

No branches or pull requests

2 participants