Skip to content

Commit adb05af

Browse files
ksuarzi80and
authored andcommitted
DOCS-8141 connectionStatus lacks a usage box
1 parent 81f4a38 commit adb05af

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

source/reference/command/connectionStatus.txt

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,10 @@ Definition
2020
Returns information about the current connection, specifically the
2121
state of authenticated users and their available permissions.
2222

23+
.. code-block:: javascript
24+
25+
db.runCommand( { connectionStatus: 1 } )
26+
2327
Output
2428
------
2529

0 commit comments

Comments
 (0)