Bson Regular Expression
A representation of the BSON regular expression type
Parameters
the regular expression options
Constructors
Construct a new instance without any options
constructs a new instance with the given pattern and options
Functions
Gets this value as a BsonBinary if it is one, otherwise throws exception
Gets this value as a BsonBoolean if it is one, otherwise throws exception
Gets this value as a BsonMaxKey if it is one, otherwise throws exception
Gets this value as a BsonMinKey if it is one, otherwise throws exception
Gets this value as a BsonNull if it is one, otherwise throws exception
Gets this value as a BsonUndefined if it is one, otherwise throws exception
Gets this value as a BsonDateTime if it is one, otherwise throws exception
Gets this value as a BsonDBPointer if it is one, otherwise throws exception
Gets this value as a BsonDecimal128 if it is one, otherwise throws exception
Gets this value as a BsonDocument if it is one, otherwise throws exception
Gets this value as a BsonDouble if it is one, otherwise throws exception
Gets this value as a BsonJavaScript if it is one, otherwise throws exception
Gets this value as a BsonJavaScriptWithScope if it is one, otherwise throws exception
Gets this value as a BsonNumber if it is one, otherwise throws exception
Gets this value as an BsonObjectId if it is one, otherwise throws exception
Gets this value as a BsonRegularExpression if it is one, otherwise throws exception
Gets this value as a BsonString if it is one, otherwise throws exception
Gets this value as a BsonSymbol if it is one, otherwise throws exception
Gets this value as a BsonTimestamp if it is one, otherwise throws exception