CheckConstraints implements sql.CheckTable.
(ctx *sql.Context)
| 962 | ColumnName: columnName, |
| 963 | ColumnIndex: columnIndex, |
| 964 | DataType: dataType, |
| 965 | IsNullable: isNullable, |
| 966 | ColumnDefault: columnDefault, |
| 967 | Comment: comment, |
| 968 | } |
| 969 | columns = append(columns, columnInfo) |
| 970 | } |
| 971 | |
| 972 | if err = rows.Err(); err != nil { |