There are a number of places in the CRUD API of the driver where the integer types differ from those described in the spec. Specifically, the following getters and setters use int32 where the spec requires int64:
- options::find::limit
- options::find::max_scan
- options::find::skip
- result::bulk_write::inserted_count
- result::bulk_write::matched_count
- result::bulk_write::modified_count
- result::bulk_write::deleted_count
- result::bulk_write::upserted_count
- result::update::matched_count
- result::update::modified_count
This issues should be rectified by changing the API to use std::int64_t instead of std::int32_t.
- related to
-
CXX-1271 Audit driver against CRUD spec
- Closed