Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 8e546ed

Browse files
update deprecated method
1 parent f8c6123 commit 8e546ed

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ Making a connection without authentication:
2525
>>> from pymongo import MongoClient
2626
>>> uri = 'mongodb://localhost:27017/'
2727
>>> client = MongoClient(uri)
28-
>>> client.database_names()
28+
>>> client.list_database_names()
2929
['admin', 'config', 'local']
3030
```
3131

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /