Skip to content
This repository was archived by the owner on Mar 4, 2026. It is now read-only.
This repository was archived by the owner on Mar 4, 2026. It is now read-only.

Documentation Request for firestore.collection.doc.delete #599

@vajahath

Description

@vajahath

Please provide a short note/sample about the precondition argument the delete() function can accept in the doc page.
I was referring firestore delete docs and couldn't found any.
It would be nice if you reflect the docs on the definition file also (for better IDE support).

Relevant code:
I was using firestore via firebase-admin:

  await fireAdmin
    .firestore()
    .collection("projects")
    .doc("doc-id")
    .delete(/* precondition */);

image

Metadata

Metadata

Labels

api: firestoreIssues related to the googleapis/nodejs-firestore API.type: docsImprovement to the documentation for an API.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions