clear all users
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user