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