You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have a collection that contains heterogeneous documents. Some documents are uniquely identified by the value of field a (and do not contain field b) and the others are uniquely identified by field b (and do not contain field a).
... results in a unique constraint violation on bUniqueIndex where the unique value being violated is b: null
These documents should not be present in bUniqueIndex. I looked through the code and could find no mention of partial filter expressions on unique indexes, leading me to believe that they are unsupported at this time.
The text was updated successfully, but these errors were encountered:
I have a collection that contains heterogeneous documents. Some documents are uniquely identified by the value of field
a
(and do not contain fieldb
) and the others are uniquely identified by fieldb
(and do not contain fielda
).For example:
I have created indexes with the following definitions:
Inserting the following documents:
... results in a unique constraint violation on
bUniqueIndex
where the unique value being violated isb: null
These documents should not be present in
bUniqueIndex
. I looked through the code and could find no mention of partial filter expressions on unique indexes, leading me to believe that they are unsupported at this time.The text was updated successfully, but these errors were encountered: