Delete Post
When you delete a post, the post will only be marked as deleted. This means that the post still exists in the database but the isDeleted
flag is set to true
.
In deleting a post, you need to pass the postId
to the deletePost
method. Below is the sample code:
Last updated