Skip to main content
Module

x/mongo/mod.ts>Bson.BSONRegExp

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

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