Skip to main content
Module

x/mongo/mod.ts>BSONRegExp

MongoDB driver for Deno
Extremely Popular
Go to Latest
class BSONRegExp
extends BSONValue
Re-export
import { BSONRegExp } from "https://deno.land/x/mongo@v0.31.2/mod.ts";

A class representation of the BSON RegExp type.

Constructors

new
BSONRegExp(pattern: string, options?: string)

Properties

readonly
_bsontype: "BSONRegExp"
options: string
pattern: string

Methods

inspect(): string

Static Methods

parseOptions(options?: string): string