I'm trying to create server side flask session extension that expires after # time. I found below Mongodb
shell command in the documentation.
db.log_events.createIndex( { "createdAt": 1 }, { expireAfterSeconds: 3600 } )
But how can I do it using pymodm
?