get_notifications method for DBAPI