Create Unique Index in Objectbox

389 views Asked by At

Is there any way to create an unique index on an entity field?

There is an Index annotation but there is no field to set. In the decompiled code is a unique field that has been commented out.

So do I have to perform the uniqueness check myself before saving the entity?

1

There are 1 answers

0
Markus Junginger On BEST ANSWER

This is a upcoming feature tracked here.