-
Notifications
You must be signed in to change notification settings - Fork 6
Index update #46
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Index update #46
Conversation
if let Some(diff) = difference.get(stringify!(#diff_key)) { | ||
match &diff.old { | ||
#avt_type_ident::#variant_ident(old) => { | ||
if let Some(set) = TableIndex::peek(&self.#index_field_name, old) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why do you expect set
here? Set will be returned only for non-unique indexes. Also, this is outdated. In last commit in main I removed TableIndex
because for now only indexset
supports all functionality that is needed for wt, so you need to merge main and rework this
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You are right, I missed the case of unique indecies because first of all I tried to implement non-unique, thank you
No description provided.