Options
All
  • Public
  • Public/Protected
  • All
Menu

Class BSONRegExp

A class representation of the BSON RegExp type.

Hierarchy

  • BSONRegExp

Index

Constructors

constructor

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

    • pattern: string

      The regular expression pattern to match

    • Optional options: string

      The regular expression options

    Returns BSONRegExp

Properties

_bsontype

_bsontype: "BSONRegExp"

options

options: string

pattern

pattern: string

Methods

Static parseOptions

  • parseOptions(options?: string): string
  • Parameters

    • Optional options: string

    Returns string

Generated using TypeDoc