puuuush
ctime and mtime added to Mongo DB; Seems to work lol
This commit is contained in:
@@ -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
|
||||
Reference in New Issue
Block a user