@staticmethod
def delete_single(db, collection, match_params=None):
    """
        Wrapper for pymongo.delete_one()
        :param db: db connection
        :param collection: collection to update
        :param match_params: a query that matches the documents to delete
        :return: delected count
        """
    return db[collection].delete_one(match_params).deleted_count
