Skip to content Skip to sidebar Skip to footer

Updating An Entity's Property Without Retrieving The Entity From The NDB

I would like to update a property of an entity that has a lot of properties. If I understand it correctly, whenever I retrieve the entity from the datastore by entity = key_of_en

Solution 1:

The only solution is to split this entity into two parts: rarely updated and frequently updated. You can make them totally independent (with an id of one entity as a property in another entity), or you can make one of them a parent and the other one a child.


Post a Comment for "Updating An Entity's Property Without Retrieving The Entity From The NDB"