Skip to content

Commit 63edc0f

Browse files
committed
feat(NODE-4795) deprecate addUser on db
1 parent 11c2e69 commit 63edc0f

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/db.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -405,6 +405,7 @@ export class Db {
405405
* @param username - The username for the new user
406406
* @param passwordOrOptions - An optional password for the new user, or the options for the command
407407
* @param options - Optional settings for the command
408+
* @deprecated Use the createUser command directly instead.
408409
*/
409410
async addUser(
410411
username: string,

0 commit comments

Comments
 (0)