QueryTDocumentNotExistsTMember Method |
Tests that an element of that name does not exist (see $exists).
Namespace:
MongoDB.Driver.Builders
Assembly:
MongoDB.Driver.Legacy (in MongoDB.Driver.Legacy.dll) Version: 2.10.0+569905ff5e778c38ea19d9d0392496a83e1704ed
Syntax public static IMongoQuery NotExists<TMember>(
Expression<Func<TDocument, TMember>> memberExpression
)
Public Shared Function NotExists(Of TMember) (
memberExpression As Expression(Of Func(Of TDocument, TMember))
) As IMongoQuery
static member NotExists :
memberExpression : Expression<Func<'TDocument, 'TMember>> -> IMongoQuery
Parameters
- memberExpression
- Type: System.Linq.ExpressionsExpressionFuncTDocument, TMember
The member expression.
Type Parameters
- TMember
- The member type.
Return Value
Type:
IMongoQueryAn IMongoQuery.
See Also