sqlForm property

String get sqlForm

SQL form of the type info.

Implementation

String get sqlForm {
  String result = dataType.sqlForm;
  if (isPrimaryKey) {
    result += " PRIMARY KEY";
  }
  if (!isNullable) {
    result += " NOT NULL";
  }
  return result;
}