'MongoDB Pull Without a Filter Parameter

I have write this code;

var pl = Builders<CMainList>.Update.PullFilter(x => x.SList,
    Builders<CMain>.Filter.Eq(y => y.TID, tid) &
    Builders<CMain>.Filter.ElemMatch(y => y.olist, Builders<CPart>.Filter.Eq(p => p.Id,objid)));
collection.UpdateOneAsync(null, pl); //or collection.UpdateOneAsync(x => true == true, pl);

This code performance is good? How to i improve this code



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source