In the Rust Driver, hint fields (example) are represented using the Hint type. Regardless of the representation we choose, we most likely want to provide functions with the following template:
- *set_hint_keys(..., mongoac_bson_view_t doc)
- *set_hint_name(..., mongoac_string_view_t name)
- mongoac_bson_view_t *get_hint_keys(...)
- mongoac_string_view_t *get_hint_name(...)
There are two primary decisions we must make:
- Do we implement the above methods once as part of a HintT type or do we implement the methods for each "hint" field?
- Regarding the getters, do we provide an additional function to distinguish between the underlying Keys and Name fields?
- is depended on by
-
CDRIVER-6585 Implement DeleteOptionsT, ReplaceOptionsT, and UpdateOptionsT
-
- Blocked
-
-
CDRIVER-6586 Implement FindOneOptionsT and FindOptionsT
-
- Blocked
-
-
CDRIVER-6589 Implement CountOptionsT, EstimatedDocumentCountOptionsT, and DistinctOptionsT
-
- Blocked
-
-
CDRIVER-6593 Implement AggregateOptionsT
-
- Blocked
-