Skip to content

Commit 29e9432

Browse files
committed
fix snippet string
1 parent 375df71 commit 29e9432

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

snippets/firestore/pipeline.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -254,7 +254,7 @@ def pipeline_join_multi_field(db):
254254
db.pipeline()
255255
.collection_group("reviews")
256256
.where(Field.of("restaurant").equal(Variable("__name__")))
257-
.where(Field.of("author").equal(Variable("owner_id")))
257+
.where(Field.of("reviewer_id").equal(Variable("owner_id")))
258258
.aggregate(Count().as_("c"))
259259
.to_scalar_expression()
260260
.greater_than(0)

0 commit comments

Comments
 (0)