简体   繁体   English

Objectify - 与IN过滤器操作相反

[英]Objectify - opposite of IN filter operation

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();

This operation is not exposed by the low level api. 低级api不会暴露此操作。 File a feature request in the GAE issue tracker: 在GAE问题跟踪器中提交功能请求:

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

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM