db is a c++ implementation of the mongo vanilla c driver.