Class Mql
| MongoDB CSharp Driver API Reference (original) (raw)
Namespace
Assembly
MongoDB.Driver.dll
Contains methods that can be used to access MongoDB specific functionality in LINQ queries.
Inheritance
Mql
Inherited Members
Methods
Use this method in a MongoDB LINQ query when you need to specify how a constant should be serialized.
Constant(TValue, IBsonSerializer)
Use this method in a MongoDB LINQ query when you need to specify how a constant should be serialized.
Convert<TFrom, TTo>(TFrom, ConvertOptions)
Converts a value from one type to another using the $convert aggregation operator.
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.
Tests whether a field exists.
Field<TDocument, TField>(TDocument, string, IBsonSerializer)
Gets the value of a field in a document.
Tests whether a field is missing.
Tests whether a field is null or missing.
Transforms a real-valued input into a value between 0 and 1 using the $sigmoid operator.