示例#1
0
 public MongoSQL Where(string field, BsonValue value, bool useNULL)
 {
     if ((value.IsNull() || value == BsonNull.Value) && !useNULL)
     {
         return(this);
     }
     query[field] = value;
     return(this);
 }
示例#2
0
 public MongoSQL Where(string field, BsonValue value, bool useNULL) {
     if ((value.IsNull() || value == BsonNull.Value) && !useNULL) return this;
     query[field] = value;
     return this;
 }