update Comment From Post D B
fun updateCommentFromPostDB(postId: String, commentKey: String?, commentVal: String?, numComments: Int)
Content copied to clipboard
Updates a comment on the database.
Parameters
postId
Unique identifier of the post on which the comment was added.
commentKey
Unique identifier of the comment being updated.
commentVal
Unique identifier of the comment being updated to be added ore removed from the list of comments of a post.
numComments
Updated number of comments on the post.