peewee possible to start incrementing IDs at zero?

前端 未结 0 918
死守一世寂寞
死守一世寂寞 2020-12-03 07:55

AutoField() starts incrementing IDs at 1, but the rest of Python is all zero-based.

http://docs.peewee-orm.com/en/latest/peewee/models.html?

相关标签:
回答
  • 消灭零回复
提交回复
热议问题