且构网

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

在不从 NDB 检索实体的情况下更新实体的属性

更新时间:2023-02-13 12:45:47

唯一的解决方案是将这个实体拆分为两部分:很少更新和经常更新.您可以使它们完全独立(将一个实体的 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.