Skip to content

Commit

Permalink
Update google-cloud-firestore/src/main/java/com/google/cloud/firestor…
Browse files Browse the repository at this point in the history
…e/Query.java

Co-authored-by: BenWhitehead <BenWhitehead@users.noreply.github.com>
  • Loading branch information
schmidt-sebastian and BenWhitehead committed May 1, 2020
1 parent 3fb5f0d commit 3869fda
Showing 1 changed file with 4 additions and 0 deletions.
Expand Up @@ -79,6 +79,10 @@ public QueryPartition(Object[] startAt, @Nullable Object[] endBefore) {
this.startAt = startAt;
this.endBefore = endBefore;
}

public Query createQuery() {
return this.query.startAt(startAt).endBefore(endBefore);
}
}

/** The direction of a sort. */
Expand Down

0 comments on commit 3869fda

Please sign in to comment.