Instance Property
autoIncrementClause
An expression inserted in a column definition when a
.primaryKey(autoincrement: true) constraint is specified for the column.var autoIncrementClause: any SQLExpression { get }
Discussion
The expression will be included immediately after PRIMARY KEY in the resulting SQL.
This property is ignored when supportsAutoIncrement is false, or when autoIncrementFunction is not nil.
No default is provided.
See Also
Syntax Indicators
var enumSyntax: SQLEnumSyntaxThe syntax the dialect supports for strongly-typed enumerations.var triggerSyntax: SQLTriggerSyntaxVarious flags describing the dialect’s support for specific features ofSQLCreateTriggerandSQLDropTriggerqueries.var alterTableSyntax: SQLAlterTableSyntaxA description of the syntax the dialect supports forSQLAlterTablequeries.var autoIncrementFunction: (any SQLExpression)?An expression inserted in a column definition when aSQLColumnConstraintAlgorithm.primaryKey(autoIncrement:)orSQLTableConstraintAlgorithm.primaryKey(columns:)constraint is specified for the column.var upsertSyntax: SQLUpsertSyntaxThe type ofUPSERTsyntax supported by the dialect.var sharedSelectLockExpression: (any SQLExpression)?A serialization forSQLLockingClause.share.var exclusiveSelectLockExpression: (any SQLExpression)?A serialization forSQLLockingClause.update.