14 dec data
This commit is contained in:
@@ -15,8 +15,8 @@ db = firestore.client()
|
||||
|
||||
patient_collection = db.collection("patientData")
|
||||
test_collection = db.collection("testData")
|
||||
start_date = sys.argv[1] # '2023-09-12' #input("Please enter the start date (yyyy-mm-dd): ")
|
||||
end_date = sys.argv[2] #'2023-07-16' #input("Please enter the end date (yyyy-mm-dd): ")
|
||||
start_date = sys.argv[1]
|
||||
end_date = sys.argv[2]
|
||||
|
||||
query = test_collection.where(filter=FieldFilter("testTime", ">=", start_date)).where(filter=FieldFilter("testTime", "<", end_date))
|
||||
docs = query.stream()
|
||||
|
||||
Reference in New Issue
Block a user