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

x/mongo/src/protocol/mod.ts>WireProtocol

MongoDB driver for Deno
Extremely Popular
Go to Latest
class WireProtocol
Re-export
import { WireProtocol } from "https://deno.land/x/mongo@v0.31.1/src/protocol/mod.ts";

Constructors

new
WireProtocol(socket: Socket)

Methods

private
receive()
private
send()
command<T = Document>(db: string, body: Document): Promise<T[]>
commandSingle<T = Document>(db: string, body: Document): Promise<T>