def get_db_collections(db):
    """
    db.collection_names()
    DeprecationWarning: collection_names is deprecated. 
    Use list_collection_names instead.
    """
    # return db.collection_names()
    return db.list_collection_names()