Table of Contents

Class Mql

Namespace
MongoDB.Driver
Assembly
MongoDB.Driver.dll

Contains methods that can be used to access MongoDB specific functionality in LINQ queries.

public static class Mql
Inheritance
Mql
Inherited Members

Methods

DateFromString(string)

Converts a string to a DateTime using the $dateFromString aggregation operator.

DateFromString(string, string)

Converts a string to a DateTime using the $dateFromString aggregation operator.

DateFromString(string, string, string)

Converts a string to a DateTime using the $dateFromString aggregation operator.

DateFromString(string, string, string, DateTime?, DateTime?)

Converts a string to a DateTime using the $dateFromString aggregation operator.

Exists<TField>(TField)

Tests whether a field exists.

Field<TDocument, TField>(TDocument, string, IBsonSerializer<TField>)

Gets the value of a field in a document.

IsMissing<TField>(TField)

Tests whether a field is missing.

IsNullOrMissing<TField>(TField)

Tests whether a field is null or missing.