File tree Expand file tree Collapse file tree 1 file changed +0
-26
lines changed
firestore/swift/firestore-smoketest Expand file tree Collapse file tree 1 file changed +0
-26
lines changed Original file line number Diff line number Diff 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]
You can’t perform that action at this time.
0 commit comments