【发布时间】:2015-07-05 04:41:52
【问题描述】:
我有以下领域查询,但通过阅读文档,我看不到进行 IN 查询的可能性。
我需要在包含该 id 的字符串或数组中搜索 id。这可能吗?
示例代码:
Realm realmThread = Realm.getInstance(visnetawrap.appModel);
RealmResults<PropertyObject> propResults = realmThread.where(PropertyObject.class).contains("propertyID", "(5,7,10)").findAll();
【问题讨论】: