Automatically delete or expire GAE datastore objects

I am building my first application with GAE to allow users to run selections, and I am creating an object for selections for each choice.

In order not to store too much data, I would like to automatically delete the election item after a certain period of time - say, three months after the end of the election. Is it possible to do this automatically in GAE? Or do I need to do this manually?

If that matters, I use the Python interface.

+3
source share
3 answers

, DateProperty , , , cron 3 .

+5
+1

Source: https://habr.com/ru/post/1793895/


All Articles