Skip to content

Commit a69b327

Browse files
committed
fix web snippet
1 parent 9b71b09 commit a69b327

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

firestore-next/test.firestore.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1106,8 +1106,8 @@ describe("firestore", () => {
11061106
it("should handle OR queries", async () => {
11071107
const { collection, query, where, and } = require("firebase/firestore");
11081108
// [START or_query]
1109-
const query = query(collection(db, "cities"), and(
1110-
where('name', '>', 'L'),
1109+
const q = query(collection(db, "cities"), and(
1110+
where('state', '==', 'CA'),
11111111
or(
11121112
where('capital', '==', true),
11131113
where('population', '>=', 1000000)

0 commit comments

Comments
 (0)