Skip to content

Commit 7e4874c

Browse files
committed
fix web snippet
1 parent 602c44e commit 7e4874c

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
@@ -1094,8 +1094,8 @@ describe("firestore", () => {
10941094
it("should handle OR queries", async () => {
10951095
const { collection, query, where, and } = require("firebase/firestore");
10961096
// [START or_query]
1097-
const query = query(collection(db, "cities"), and(
1098-
where('name', '>', 'L'),
1097+
const q = query(collection(db, "cities"), and(
1098+
where('state', '==', 'CA'),
10991099
or(
11001100
where('capital', '==', true),
11011101
where('population', '>=', 1000000)

0 commit comments

Comments
 (0)