0
내 모델의 특성이 있습니다 또한필터 개체가
Key emailKey = KeyFactory.createKey("email", email);
Filter filter = new
FilterPredicate(Entity.KEY_RESERVED_PROPERTY, FilterOperator.EQUAL, emailKey);
result = ObjectifyService.ofy().load().type(User.class)
.filter(filter);
:
@Id
@Index
public String email;
그리고 필터
검색 할email
변수를 사용하여,이 필터가 나는 이것을 시도한다 :
result = ObjectifyService.ofy().load().type(User.class)
.filterKey("__key__", email);
그러나 그들 중 어느 것도 작동하지 않는다?