We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent db24d5a commit b7e94ffCopy full SHA for b7e94ff
packages/firestore/lib/modular/query.js
@@ -140,6 +140,14 @@ export function endAt(...fieldValues) {
140
return new QueryConstraint('endAt', ...fieldValues);
141
}
142
143
+/**
144
+ * @param {DocumentSnapshot} snapshot
145
+ * @returns {QueryEndAtConstraint}
146
+ */
147
+export function endAt(snapshot){
148
+ return new QueryConstraint('endAt', snapshot);
149
+}
150
+
151
/**
152
* Creates a QueryEndAtConstraint that modifies the result set to end before the provided fields relative to the order of the query.
153
* The order of the field values must match the order of the order by clauses of the query.
0 commit comments