Please help me understand entity hierarchies in GAE's Datastore

前端 未结 2 1222
死守一世寂寞
死守一世寂寞 2021-01-03 05:06

The Google App Engine Datastore allows each entity to have a parent entity, essentially a way to form an entity hierarchy. For example, an Employee<

2条回答
  •  没有蜡笔的小新
    2021-01-03 05:52

    A typical usage of Parent feature instead of ReferenceProperties is for transactions.
    Google App Engine allows transactions just on entities in the same entity group, ie a set of entities with the same parent.

提交回复
热议问题