

def last_insert_id(self, cursor, model):
    if model._meta.auto_increment:
        return model.getconnection().last_insert_rowid()

dataset/ETHPy150Open coleifer/peewee/playhouse/apsw_ext.py APSWDatabase.last_insert_id/VarMisuse@24/30 `cursor`->`model`