@classmethod
def revoke(cls, user, database):
    """Query to revoke user access to a database."""
    return 'REVOKE ALL ON DATABASE "{database}" FROM "{user}"'.format(database
        =database, user=user)
