Setting SQLAlchemy autoincrement start value
Setting SQLAlchemy autoincrement start value Question: The autoincrement argument in SQLAlchemy seems to be only True and False, but I want to set the pre-defined value aid = 1001, the via autoincrement aid = 1002 when the next insert is done. In SQL, can be changed like: ALTER TABLE article AUTO_INCREMENT = 1001; I’m using …
Total answers: 6