Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
目前我检索到一个具有 ReferenceProperty 的实体,该实体是否已经检索到父实体? 在这种情况下会发生两次读取吗? 如果我总是想要父键并且有时想要父实体数据,我不应该为此使用 ReferenceProperty 吗?
实体是否已经检索到父实体?
不。
在这种情况下会发生两次读取吗?
不
如果我总是想要父键并且有时想要父实体数据,我不应该为此使用 ReferenceProperty 吗?
ReferenceProperty 在这种情况下非常有意义。