Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion Python/MongoDB API/MongoDB API.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@ def __init__(self, data):
# self.client = MongoClient("mongodb://localhost:27017/") # When only Mongo DB is running on Docker.
self.client = MongoClient("mongodb://mymongo_1:27017/") # When both Mongo and This application is running on
# Docker and we are using Docker Compose

database = data['database']
collection = data['collection']
cursor = self.client[database]
Expand Down