Skip to main content
Module

x/mongo/mod.ts>MongoClient#runCommand

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

Type Parameters

optional
T = any

Parameters

db: string
body: Document

Returns

Promise<T>