1. 13
    Delete a Document with a Confirmation Step from Firestore
    3m 33s

Delete a Document with a Confirmation Step from Firestore

InstructorJorge Vergara

Share this video with your friends

Send Tweet

We'll learn how to delete documents from the database. This action is pretty straight forward, we'll add a delete button that will call Firestore deleteDoc and pass in the task id.

We'll also explore a good practice when performing destructive operations (like deleting database objects) of adding a confirmation step to make sure our users don't delete objects by accident. We'll do this with the Ionic Alert Controller.