def visit_sequence(self, seq):
        return "nextval('%s')" % self.preparer.format_sequence(seq)
dataset/ETHPy150Open RoseOu/flasky/venv/lib/python2.7/site-packages/sqlalchemy/dialects/postgresql/base.py/PGCompiler.visit_sequence/original