Options
All
  • Public
  • Public/Protected
  • All
Menu

Class BSONRegExp

A class representation of the BSON RegExp type.

Hierarchy

Index

Constructors

Properties

Accessors

Methods

Constructors

  • 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

options: string
pattern: string

Accessors

  • get _bsontype(): "BSONRegExp"
  • Returns "BSONRegExp"

Methods

  • inspect(): string
  • Returns string

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

    • Optional options: string

    Returns string

Generated using TypeDoc