Closed crapStone closed 2 years ago
The datetime.now() function gets called only once and every session will have the same creation date until the server is restarted.
datetime.now()
SQLAlchemy can handle function references and now calls datetime.now() every time a new session is created.
Thanks for this - much appreciated!
The
datetime.now()
function gets called only once and every session will have the same creation date until the server is restarted.SQLAlchemy can handle function references and now calls
datetime.now()
every time a new session is created.