realm-dart icon indicating copy to clipboard operation
realm-dart copied to clipboard

Unique Compound Index

Open dotjon0 opened this issue 3 years ago • 4 comments

Description

Within MongoDB you can have unique compound indexes (https://www.mongodb.com/docs/manual/core/index-unique/#unique-compound-index) - we ask if Flutter Realm would consider this for Realm.

How important is this improvement for you?

Would be a major improvement

dotjon0 avatar Oct 19 '22 21:10 dotjon0

This is tracked by https://github.com/realm/realm-core/issues/3860 for unique indexes and https://github.com/realm/realm-core/issues/1370 for composite primary keys. Unfortunately, we need support for this in Core before we can support in Flutter.

And for context, the Core team doesn't have immediate plans to work on it.

nirinchev avatar Oct 19 '22 22:10 nirinchev

Thanks for the super fast reply @nirinchev - ok well was worth the ask, will solve with application logic. Have a good rest of week!

dotjon0 avatar Oct 19 '22 22:10 dotjon0

Any movement on this?

dotjon0 avatar Oct 31 '23 00:10 dotjon0

No, it's not on our immediate priorities list.

nirinchev avatar Oct 31 '23 10:10 nirinchev