MongoDB.Driver.Builders.QueryConditionList.Exists C# (CSharp) Метод

Exists() публичный Метод

Adds a $exist test to the query.
public Exists ( bool exists ) : QueryConditionList
exists bool Whether to test for the existence or absence of an element.
Результат QueryConditionList
        public QueryConditionList Exists(
            bool exists
        ) {
            conditions.Add("$exists", BsonBoolean.Create(exists));
            return this;
        }