Initial commit — clean history (removed large test files, browser profiles, Medidata/Clario downloads)
This commit is contained in:
@@ -0,0 +1,14 @@
|
||||
"""
|
||||
Přidá pole "Zdroj": "Iluminátor" ke všem dokumentům v feasibility.investigators.
|
||||
|
||||
Spustit: python update_zdroj.py
|
||||
"""
|
||||
|
||||
from pymongo import MongoClient
|
||||
|
||||
client = MongoClient("mongodb://192.168.1.76:27017/")
|
||||
col = client["feasibility"]["investigators"]
|
||||
|
||||
result = col.update_many({}, {"$set": {"Zdroj": "Iluminátor"}})
|
||||
print(f"Upraveno dokumentů: {result.modified_count}")
|
||||
client.close()
|
||||
Reference in New Issue
Block a user