Skip to content

Commit 710a22d

Browse files
authored
remove stable snippet (#414)
1 parent fad246b commit 710a22d

File tree

1 file changed

+0
-16
lines changed

1 file changed

+0
-16
lines changed

firestore/swift/firestore-smoketest/PipelineSnippets.swift

Lines changed: 0 additions & 16 deletions
Original file line numberDiff line numberDiff 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]

0 commit comments

Comments
 (0)