ctime and mtime added to Mongo DB;
Seems to work lol
This commit is contained in:
Ali
2024-12-16 23:47:11 +01:00
parent 05d7bc8f53
commit d3ff36876e
2 changed files with 15 additions and 5 deletions
+1 -1
View File
@@ -107,6 +107,6 @@ def get_data_from_mongo(dataset):
for set in dataset:
json_data = collection.find_one({"doc_id": set[0]})
result_string += "Dateipfad: " + json_data["filepath"] + "; Inhalt: " + json_data["chunk_content"] + "; "
result_string += "Dateipfad: " + json_data["filepath"] + "; Inhalt: " + json_data["chunk_content"] + "; Erstellungszeitpunkt: " + json_data["ctime"] + "; Letzte Bearbeitung: " + json_data["mtime"]
return result_string