Skip to content

Commit 360e048

Browse files
author
Ajay Kannan
committed
Increase limit on query size
1 parent 830d87c commit 360e048

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

gcloud-java-examples/src/main/java/com/google/gcloud/examples/DatastoreExample.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ public void run(Transaction tx, Key userKey, String... args) {
100100
return;
101101
}
102102
System.out.printf("User '%s' has %d comment[s].%n", userKey.name(), user.getLong("count"));
103-
int limit = 10;
103+
int limit = 200;
104104
Map<DateTime, String> sortedComments = new TreeMap<>();
105105
StructuredQuery<Entity> query =
106106
Query.entityQueryBuilder()

0 commit comments

Comments
 (0)