public static QueryDocument get_query_from_str(string str) { BsonDocument doc = BsonSerializer.Deserialize <BsonDocument>(str); QueryDocument doc_query = new QueryDocument(); doc_query.AddRange(doc.Elements); return(doc_query); }
public static QueryDocument get_query_from_str(string str) { BsonDocument doc = BsonSerializer.Deserialize <BsonDocument>(str); QueryDocument doc_query = new QueryDocument(); doc_query.AddRange(doc.Elements); return(doc_query); }