File tree Expand file tree Collapse file tree 1 file changed +10
-0
lines changed Expand file tree Collapse file tree 1 file changed +10
-0
lines changed Original file line number Diff line number Diff line change @@ -5959,6 +5959,7 @@ declare namespace firebase.database {
5959
5959
* @example
5960
5960
* ```javascript
5961
5961
* // Find all dinosaurs whose names come before Pterodactyl lexicographically.
5962
+ * // Include Pterodactyl in the result.
5962
5963
* var ref = firebase.database().ref("dinosaurs");
5963
5964
* ref.orderByKey().endAt("pterodactyl").on("child_added", function(snapshot) {
5964
5965
* console.log(snapshot.key);
@@ -5988,6 +5989,15 @@ declare namespace firebase.database {
5988
5989
* If a key is specified, then children must have a value lesss than or equal
5989
5990
* to the specified value and a a key name less than the specified key.
5990
5991
*
5992
+ * @example
5993
+ * ```javascript
5994
+ * // Find all dinosaurs whose names come before Pterodactyl lexicographically.
5995
+ * // Do not include Pterodactyl in the result.
5996
+ * var ref = firebase.database().ref("dinosaurs");
5997
+ * ref.orderByKey().endBefore("pterodactyl").on("child_added", function(snapshot) {
5998
+ * console.log(snapshot.key);
5999
+ * });
6000
+ *
5991
6001
* @param value The value to end before. The argument
5992
6002
* type depends on which `orderBy*()` function was used in this query.
5993
6003
* Specify a value that matches the `orderBy*()` type. When used in
You can’t perform that action at this time.
0 commit comments