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.
是否可以仅在通过检索的对象上使用.select(JS) / (Android) ?selectKeys.include()
.select
selectKeys
.include()
比如A类有一个指向B类的指针,当我查询A类的时候,我想要A类的所有内容,只想要B类的几个选定字段,可以吗?
是的。这是可能的。你可以这样做:
const aQuery = new Parse.Query('A'); aQuery.include('pointerToB'); aQuery.select('pointerToB.someFieldOfB');