Hi all,

I have checked the ndb.Model api and there seems to no attribute to hold 
the creation timestamp of a data store entity.

It is my use case: I want to be able to define a cron job which will sweep 
 all entities in the datastore. If an entity is created say 24hours ago, it 
will be deleted. 

I can definitely add a 'creation_time' DateTimeProperty to my data model. 
However it would be neat if ndb supports this already

Cheers, Tony

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/google-appengine.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-appengine/2a94f3a2-d33c-4b6a-b5dc-785a193e3efb%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to