Aug-09-2023, 01:09 PM
# Max of 3 connections
elif record.counter < 3:
record.counter = record.counter + 1
db.add(record)
db.commit()
elif record.counter < 3:
record.counter = record.counter + 1
db.add(record)
db.commit()
Using SQLAlchemy, prevent SQLite3 table update by multiple program instances
|
|
Messages In This Thread |
Using SQLAlchemy, prevent SQLite3 table update by multiple program instances - by Calab - Aug-08-2023, 02:36 PM
RE: Using SQLAlchemy, prevent SQLite3 table update by multiple program instances - by Larz60+ - Aug-09-2023, 01:55 AM
RE: Using SQLAlchemy, prevent SQLite3 table update by multiple program instances - by Pubfonts - Aug-09-2023, 01:09 PM
RE: Using SQLAlchemy, prevent SQLite3 table update by multiple program instances - by Calab - Aug-09-2023, 05:51 PM
|