Skip to content

Commit

Permalink
add example of authenticated connection
Browse files Browse the repository at this point in the history
  • Loading branch information
Jerry Schneider committed May 14, 2014
1 parent 4d52cd1 commit 2706090
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/MongoDBLibrary/mongo_connection_manager.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,8 @@ def connect_to_mongodb(self, dbHost='localhost', dbPort=27017, dbMaxPoolSize=10,
Example usage:
| # To connect to foo.bar.org's MongoDB service on port 27017 |
| Connect To MongoDB | foo.bar.org | ${27017} |
| # For an authenticated connection you should be able to |
| Connect To MongoDB | admin:admin@foo.bar.org | ${27017} |
"""
dbapiModuleName = 'pymongo'
Expand Down

0 comments on commit 2706090

Please sign in to comment.