Skip to content

Commit 3869fda

Browse files
Update google-cloud-firestore/src/main/java/com/google/cloud/firestore/Query.java
Co-authored-by: BenWhitehead <BenWhitehead@users.noreply.github.com>
1 parent 3fb5f0d commit 3869fda

File tree

1 file changed

+4
-0
lines changed
  • google-cloud-firestore/src/main/java/com/google/cloud/firestore

1 file changed

+4
-0
lines changed

google-cloud-firestore/src/main/java/com/google/cloud/firestore/Query.java

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -79,6 +79,10 @@ public QueryPartition(Object[] startAt, @Nullable Object[] endBefore) {
7979
this.startAt = startAt;
8080
this.endBefore = endBefore;
8181
}
82+
83+
public Query createQuery() {
84+
return this.query.startAt(startAt).endBefore(endBefore);
85+
}
8286
}
8387

8488
/** The direction of a sort. */

0 commit comments

Comments
 (0)