Skip to content

Instance Property

modifier

If not nil, must be set to SQLColumnConstraintAlgorithm.unique.
var modifier: (any SQLExpression)?

Discussion

This property is another legacy API design flaw, as well as reflecting the overlap in most dialects between table-level UNIQUE constraints and unique indexes, both of which imply each other but are treated as more or less distinct entities at the syntactic level.