Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -86,11 +86,9 @@ public void propertyFilterExample_returnsMatchingEntities() throws Exception {

// Act
long minHeight = 160;
// [START gae_java8_datastore_property_filter]
Filter propertyFilter =
new FilterPredicate("height", FilterOperator.GREATER_THAN_OR_EQUAL, minHeight);
Query q = new Query("Person").setFilter(propertyFilter);
// [END gae_java8_datastore_property_filter]

// Assert
List<Entity> results =
Expand Down