We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 698906e commit 0735b39Copy full SHA for 0735b39
source/reference/method/db.getUser.txt
@@ -16,8 +16,8 @@ Definition
16
.. method:: db.getUser(username, args)
17
18
Returns user information for a specified user. Run this method on the
19
- user's database. The user must exist on the database on which the method
20
- runs.
+ user's database. If the user doesn't exist in the database,
+ :method:`db.getUser()` returns ``null``.
21
22
The :method:`db.getUser()` method has the following parameters:
23
@@ -136,6 +136,7 @@ Example output:
136
mechanisms: [ 'SCRAM-SHA-1', 'SCRAM-SHA-256' ]
137
}
138
139
+
140
Omit Custom Data from Output
141
~~~~~~~~~~~~~~~~~~~~~~~~~~~~
142
0 commit comments