Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/mongo/mod.ts>Database#createUser

MongoDB driver for Deno
Extremely Popular
Go to Latest
method Database.prototype.createUser
import { Database } from "https://deno.land/x/mongo@v0.31.1/mod.ts";

Parameters

username: string
password: string
optional
options: CreateUserOptions