CXX-183 Add save method to dbclientinterface
CXX-187 Add distinct helper