Skip to main content
Module

x/atlas_sdk/mod.ts>Bson.BSONRegExp

TypeSafe MongoDB Atlas Data API SDK for Deno & Deno Deploy
Go to Latest
class Bson.BSONRegExp
Re-export
import { Bson } from "https://deno.land/x/atlas_sdk@v0.1.1/mod.ts";
const { BSONRegExp } = Bson;

A class representation of the BSON RegExp type.

Constructors

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

Properties

_bsontype: string
options: string
pattern: string

Methods

toExtendedJSON(options?: EJSONOptions): BSONRegExpExtended

Static Methods

fromExtendedJSON(doc: BSONRegExpExtended): BSONRegExp
parseOptions(options?: string): string