def remove_badge(row_id): if tf.validate_number(row_id): return tf.remove_row_by_id(Badge, row_id)
def unlike_by_picture_id(row_id): tf.remove_row_by_id(PictureLike, row_id, 'PictureId')
def remove_user_by_email(row_id): return tf.remove_row_by_id(User, row_id, col_name='Email')
def remove_user_by_username(username): return tf.remove_row_by_id(User, username, col_name='Username')
def remove_comment_by_review_id(row_id): if tf.validate_number(row_id): return tf.remove_row_by_id(Comment, row_id, 'ReviewId')
def remove_user_by_id(row_id): if tf.validate_number(row_id): return tf.remove_row_by_id(User, row_id)
def remove_rating_by_user_id(row_id): if tf.validate_number(row_id): return tf.remove_row_by_id(Rating, row_id, "UserId")
def remove_user_badge_by_badge_id(row_id): if tf.validate_number(row_id): return tf.remove_row_by_id(UserBadge, row_id, "BadgeId")
def remove_picture_by_id(row_id): if tf.validate_number(row_id): return tf.remove_row_by_id(Picture, row_id)
def remove_rating_by_location_id(row_id): if tf.validate_number(row_id): return tf.remove_row_by_id(Rating, row_id, "LocationId")
def remove_category_by_id(row_id): if tf.validate_number(row_id): return tf.remove_row_by_id(Category, row_id)
def remove_comment_like_by_id(row_id): if tf.validate_number(row_id): return tf.remove_row_by_id(CommentLike, row_id)
def remove_review_by_id(row_id): if tf.validate_number(row_id): return tf.remove_row_by_id(Review, row_id)
def unlike_by_user_id(row_id): tf.remove_row_by_id(PictureLike, row_id, 'UserId')
def remove_comment_by_user_id(row_id): if tf.validate_number(row_id): return tf.remove_row_by_id(Comment, row_id, 'UserId')
def remove_location_by_id(row_id): if tf.validate_number(row_id): return tf.remove_row_by_id(Location, row_id)
def remove_visited_location_by_user_id(row_id): if tf.validate_number(row_id): return tf.remove_row_by_id(VisitedLocation, row_id, "UserId")