问题内容: for example, In MySQL the query like this: select name from test_tab where id = 1 and name like 'test%'; I want to translate this query in mongodb by mongodb C driver, so I write the code like this, but all don’t work(the searchDoc() function is okay. string strName = ""; bson_t *cond =