NightN
Convex Community3y ago
16 replies
Night

Unique Indexes

Do table indexes automatically have a unique attribute? I am trying to insert a row into a table if and only if the combination of two columns does not already exist, and I have an index on the table for those two columns. How do I enforce this uniqueness?
Was this page helpful?