Method Type
Type(string, BsonType)
Tests that the type of the named element is equal to some type (see $type).
public static IMongoQuery Type(string name, BsonType type)
Parameters
Returns
- IMongoQuery
An IMongoQuery.
Type(string, string)
Tests that the type of the named element is equal to some type (see $type).
public static IMongoQuery Type(string name, string type)
Parameters
Returns
- IMongoQuery
An IMongoQuery.