gpt4 book ai didi

ios - query.fromLocalDatastore() 是独占的吗?

转载 作者:行者123 更新时间:2023-11-29 01:28:00 24 4
gpt4 key购买 nike

当您将 .fromLocalDatastore 添加到 PFQuery 时,它是只查询本地数据存储,还是也查询云?

来自解析:

Often, you'll want to find a whole list of objects that match certain criteria, instead of getting a single object by id. To do that, you can use a PFQuery. Any PFQuery can be used with the local datastore just as with the network. The results will include any object you have pinned that matches the query.

最佳答案

使用 .fromLocalDatastore() 的 PFQuery 查询不会到达云端。

原因是根据定义这是它的行为,但我还通过使用和不使用 .fromLocalDatastore() 的查询的网络监控验证了这一点。

关于ios - query.fromLocalDatastore() 是独占的吗?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/33791776/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com