From 10502399b7c0a03cfb9c780575da46dcf2590fbb Mon Sep 17 00:00:00 2001 From: Pritimay Sarkar Date: Mon, 18 Sep 2023 12:14:36 +0530 Subject: [PATCH] clear all users --- changeTestStatus.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/changeTestStatus.py b/changeTestStatus.py index 4559cb3..35604fd 100644 --- a/changeTestStatus.py +++ b/changeTestStatus.py @@ -11,7 +11,7 @@ def move_documents(source_collection): db = firestore.client() # Get all documents from the source collection - source_docs = db.collection(source_collection).where(filter=FieldFilter("name", "==", " S2-A-R1")).stream() + source_docs = db.collection(source_collection).where(filter=FieldFilter("testStatus", "==", False)).stream() for doc in source_docs: # Extract the document ID doc_id = doc.id