1
Fork 0

Add autoincrement option to dialect

This commit is contained in:
Matei Adriel 2024-01-08 22:10:14 +01:00
parent c997e3196c
commit d53afd905e
No known key found for this signature in database
3 changed files with 8 additions and 2 deletions
tools/Language/SQL/SimpleSQL

View file

@ -334,7 +334,7 @@ todo: constraint characteristics
> [TableColumnDef $ ColumnDef (Name Nothing "a") (TypeName [Name Nothing "int"]) Nothing
> [ColConstraintDef Nothing (ColPrimaryKeyConstraint False)]])
> ,(TestStatement ansi2011
> ,(TestStatement ansi2011 { diAutoincrement = True }
> "create table t (a int primary key autoincrement);"
> $ CreateTable [Name Nothing "t"]
> [TableColumnDef $ ColumnDef (Name Nothing "a") (TypeName [Name Nothing "int"]) Nothing