Skip to content

Instance Property

predicate

If not nil, a predicate identifying which rows of the table are included in the index.
var predicate: (any SQLExpression)?

Discussion

Not all dialects support partial indexes. There is currently no check for this; users must ensure that a predicate is not specified when not supported.