Objectify - 与IN滤波器操作相反 [英] Objectify - opposite of IN filter operation

查看:82
本文介绍了Objectify - 与IN滤波器操作相反的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

当列表被过滤时,有没有一种方法可以在查询中排除?
类似于:当密钥不在密钥列表中时允许获取。

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.

列表< Key<用户>> userKeys = getUserKeys();
ofy()。load()。type(User.class).filter(__ key__ ?????,userKeys).list();

推荐答案

这个操作并没有暴露在低级别的API中。在GAE问题跟踪器中提交功能请求:

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

这篇关于Objectify - 与IN滤波器操作相反的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆