public MongoQuery AppendParameter(string field, string modifier, object value)
{
//if using a modifier, set this as a document
if (modifier is string) {
BsonDocument parameters = new BsonDocument();
parameters[modifier] = value;
this._Parameters[field] = parameters;
}
//otherwise, just assign the value
else {
this._Parameters[field] = value;
}
//return the query to use
return this;
}