Objectify - opposite of IN filter operation

大憨熊 提交于 2019-12-22 08:40:54

问题


Is there a way to exclude in the query when a list is filtered? Something like: allow to fetch when the key is not inside keys list.

List<Key<User>> userKeys = getUserKeys(); ofy().load().type(User.class).filter("__key__ ?????", userKeys).list();


回答1:


This operation is not exposed by the low level api. File a feature request in the GAE issue tracker:

https://code.google.com/p/googleappengine/issues/list



来源:https://stackoverflow.com/questions/31933012/objectify-opposite-of-in-filter-operation

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!