Skip to content

Commit ba090b9

Browse files
author
Bob Grabar
committed
DOCS-883 add db.serverBuildInfo()
1 parent 8bfdb28 commit ba090b9

File tree

2 files changed

+14
-0
lines changed

2 files changed

+14
-0
lines changed

source/reference/javascript.txt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -194,6 +194,9 @@ Database Methods
194194
.. include:: method/db.runCommand.txt
195195
:start-after: mongodb
196196

197+
.. include:: method/db.serverBuildInfo.txt
198+
:start-after: mongodb
199+
197200
.. include:: method/db.serverStatus.txt
198201
:start-after: mongodb
199202

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
====================
2+
db.serverBuildInfo()
3+
====================
4+
5+
.. default-domain:: mongodb
6+
7+
.. method:: db.serverBuildInfo()
8+
9+
Provides a wrapper around the :dbcommand:`buildInfo` :term:`database
10+
command`. The :dbcommand:`buildInfo` database command returns a build
11+
summary for the current :program:`mongod`.

0 commit comments

Comments
 (0)