File tree Expand file tree Collapse file tree 1 file changed +0
-16
lines changed
firestore/swift/firestore-smoketest Expand file tree Collapse file tree 1 file changed +0
-16
lines changed Original file line number Diff line number Diff line change @@ -411,22 +411,6 @@ public class PipelineSnippets {
411411 print ( results)
412412 }
413413
414- // https://cloud.google.com/firestore/docs/pipeline/stages/transformation/union#examples
415- func unionStageStable( ) async throws {
416- // [START union_stage_stable]
417- let results = try await db. pipeline ( )
418- . collection ( " cities/SF/restaurants " )
419- . where ( Field ( " type " ) . equal ( " Chinese " ) )
420- . union ( with: db. pipeline ( )
421- . collection ( " cities/NY/restaurants " )
422- . where ( Field ( " type " ) . equal ( " Italian " ) ) )
423- . where ( Field ( " rating " ) . greaterThanOrEqual ( 4.5 ) )
424- . sort ( [ Field ( " __name__ " ) . descending ( ) ] )
425- . execute ( )
426- // [END union_stage_stable]
427- print ( results)
428- }
429-
430414 // https://cloud.google.com/firestore/docs/pipeline/stages/transformation/unnest#examples
431415 func unnestStage( ) async throws {
432416 // [START unnest_stage]
You can’t perform that action at this time.
0 commit comments