Instance Property
autoIncrementFunction
An expression inserted in a column definition when a
SQLColumnConstraintAlgorithm/primaryKey(autoIncrement:) or SQLTableConstraintAlgorithm/primaryKey(columns:) constraint is specified for the column.var autoIncrementFunction: (any SQLExpression)? { get }
Discussion
The expression will be immediately preceded by the literalDefault-4l1ox expression and appear immediately before PRIMARY KEY in the resulting SQL.
This property is ignored when supportsAutoIncrement is false. If this property is not nil, it takes precedence over autoIncrementClause.
Defaults to nil.
Note
The design of this and the other autoincrement-released properties is less than ideal, but it’s public API and we’re stuck with it for now.