Skip to content

Commit af57314

Browse files
committed
remove nan snippets
1 parent dde8206 commit af57314

File tree

3 files changed

+0
-52
lines changed

3 files changed

+0
-52
lines changed

firestore-next/test.firestore.js

Lines changed: 0 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -2220,30 +2220,6 @@ describe("firestore-pipelines", () => {
22202220
console.log(result);
22212221
}
22222222

2223-
async function isNaNFunction() {
2224-
// [START is_nan]
2225-
const result = await db.pipeline()
2226-
.collection("books")
2227-
.select([
2228-
field("rating").isNan().as("hasInvalidRating")
2229-
])
2230-
.execute();
2231-
// [END is_nan]
2232-
console.log(result);
2233-
}
2234-
2235-
async function isNotNaNFunction() {
2236-
// [START is_not_nan]
2237-
const result = await db.pipeline()
2238-
.collection("books")
2239-
.select([
2240-
field("rating").isNotNan().as("hasValidRating")
2241-
])
2242-
.execute();
2243-
// [END is_not_nan]
2244-
console.log(result);
2245-
}
2246-
22472223
async function maxLogicalFunction() {
22482224
// [START max_logical_function]
22492225
const result = await db.pipeline()

snippets/firestore-next/test-firestore/is_nan.js

Lines changed: 0 additions & 14 deletions
This file was deleted.

snippets/firestore-next/test-firestore/is_not_nan.js

Lines changed: 0 additions & 14 deletions
This file was deleted.

0 commit comments

Comments
 (0)