且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

更新实体的属性而不从NDB中检索实体

更新时间:2022-03-03 22:36:33

唯一的解决方案是将此实体分为两部分:很少更新并经常更新。你可以让它们完全独立(一个实体的ID作为另一个实体的属性),或者你可以让它们中的一个成为父母,另一个成为孩子。

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.