Skip to content

Commit cccfe6b

Browse files
committed
camelCase the buildInfo command in docs
1 parent 2b848b5 commit cccfe6b

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

pymongo/asynchronous/database.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -834,12 +834,12 @@ async def command(
834834
Any additional keyword arguments will be added to the final
835835
command document before it is sent.
836836
837-
For example, a command like ``{buildinfo: 1}`` can be sent
837+
For example, a command like ``{buildInfo: 1}`` can be sent
838838
using:
839839
840-
>>> await db.command("buildinfo")
840+
>>> await db.command("buildInfo")
841841
OR
842-
>>> await db.command({"buildinfo": 1})
842+
>>> await db.command({"buildInfo": 1})
843843
844844
For a command where the value matters, like ``{count:
845845
collection_name}`` we can do:

pymongo/synchronous/database.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -834,12 +834,12 @@ def command(
834834
Any additional keyword arguments will be added to the final
835835
command document before it is sent.
836836
837-
For example, a command like ``{buildinfo: 1}`` can be sent
837+
For example, a command like ``{buildInfo: 1}`` can be sent
838838
using:
839839
840-
>>> db.command("buildinfo")
840+
>>> db.command("buildInfo")
841841
OR
842-
>>> db.command({"buildinfo": 1})
842+
>>> db.command({"buildInfo": 1})
843843
844844
For a command where the value matters, like ``{count:
845845
collection_name}`` we can do:

0 commit comments

Comments
 (0)