Skip to content

Commit 47b6979

Browse files
committed
remove nan snippets
1 parent 7c498b9 commit 47b6979

File tree

1 file changed

+0
-26
lines changed

1 file changed

+0
-26
lines changed

firestore/swift/firestore-smoketest/PipelineSnippets.swift

Lines changed: 0 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -959,32 +959,6 @@ public class PipelineSnippets {
959959
print(result)
960960
}
961961

962-
// https://cloud.google.com/firestore/docs/pipeline/functions/logical_functions#is_nan
963-
func isNaNFunction() async throws {
964-
// [START is_nan]
965-
let result = try await db.pipeline()
966-
.collection("books")
967-
.select([
968-
Field("rating").isNan().as("hasInvalidRating")
969-
])
970-
.execute()
971-
// [END is_nan]
972-
print(result)
973-
}
974-
975-
// https://cloud.google.com/firestore/docs/pipeline/functions/logical_functions#is_not_nan
976-
func isNotNaNFunction() async throws {
977-
// [START is_not_nan]
978-
let result = try await db.pipeline()
979-
.collection("books")
980-
.select([
981-
Field("rating").isNotNan().as("hasValidRating")
982-
])
983-
.execute()
984-
// [END is_not_nan]
985-
print(result)
986-
}
987-
988962
// https://cloud.google.com/firestore/docs/pipeline/functions/logical_functions#max
989963
func maxLogicalFunction() async throws {
990964
// [START max_logical_function]

0 commit comments

Comments
 (0)