Updated the open_db method to use the set_unique() method instead of the deprecated unique() method.
We pass a reference to IdbIndexParameters (&id_index_params) when calling create_index_with_params because the method expects a reference rather than an owned value.
Updated the
open_db
method to use theset_unique()
method instead of the deprecatedunique()
method.We pass a reference to
IdbIndexParameters
(&id_index_params
) when callingcreate_index_with_params
because the method expects a reference rather than an owned value.