Unify the key returned by UniqueIndex and MultiIndex.
Currently, UniqueIndex returns just the pk, whereas MultiIndex returns the remaining of the key, including the pk as last element. Either make both return just the pk, or make UniqueIndex behave like MultiIndex (which is better for usability / options). (opted for the first option, for simplicity).
There are a number of FIXMEs in the code where this needs to be changed.
Unify the key returned by
UniqueIndexandMultiIndex.Currently,
UniqueIndexreturns just the pk, whereasMultiIndexreturns the remaining of the key, including the pk as last element. Either make both return just the pk,or make. (opted for the first option, for simplicity).UniqueIndexbehave likeMultiIndex(which is better for usability / options)There are a number of FIXMEs in the code where this needs to be changed.