ExportXMLWordPrintableJSON

    • Type: Task
    • Resolution: Unresolved
    • Priority: Unknown
    • None
    • Affects Version/s: None
    • Component/s: None
    • C Drivers
    • None
    • None
    • None
    • None
    • None
    • None

      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?

            Assignee:
            Unassigned
            Reporter:
            Connor MacDonald
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: