CBL 2. Unique Index

Does CBL 2 enforce a unique index constraint? If I try to save 2 documents with the same value stored in a property that is indexed, will an exception (duplicate ) be thrown?

No, there is no such constraint (@jens Correct me if this is wrong, but the underlying language uses “CREATE INDEX” instead of “CREATE UNIQUE INDEX” so I assume there are no uniqueness constraints)

Yes. There is no uniqueness constraint on indexed properties.

Ok. Thank you much.