init CRUD

This commit is contained in:
Awen Lelu
2025-12-18 17:16:26 +01:00
parent 61433bca35
commit d7bea8e188
30 changed files with 1251 additions and 0 deletions
View File
Binary file not shown.
Binary file not shown.
View File
+8
View File
@@ -0,0 +1,8 @@
from pymongo import MongoClient
def getMongo(uri: str = "localhost:27017"):
uri = uri
client = MongoClient(uri)
collection = client["netflux"]
return collection, client