I am trying to use AppEngine-MapReduce. I understand how to perform an operation on all objects of a certain entity_kind object, but what is the easiest way to work only with objects in a data range when an object has a date attribute? Is there an easy way to pass parameters to mapper?
For example, what if I only wanted to delete objects, where:
entity.created >= start and entity.created < stop class Entity(db.Model): created = db.DateTimeProperty() from mapreduce import operation as op def process(entity): yield op.db.Delete(entity)
source share