Kajona\System\System\DbDatatypes

List of possible data-types usable when generating new tables / updating tables.

Synopsis

class DbDatatypes {
  • // constants
  • const STR_TYPE_INT = "int";
  • const STR_TYPE_LONG = "long";
  • const STR_TYPE_DOUBLE = "double";
  • const STR_TYPE_CHAR10 = "char10";
  • const STR_TYPE_CHAR20 = "char20";
  • const STR_TYPE_CHAR100 = "char100";
  • const STR_TYPE_CHAR254 = "char254";
  • const STR_TYPE_CHAR500 = "char500";
  • const STR_TYPE_TEXT = "text";
  • const STR_TYPE_LONGTEXT = "longtext";
}

Tasks

Line Task
18+ move to an enum based approach

Constants

Name Value
STR_TYPE_INT "int"
STR_TYPE_LONG "long"
STR_TYPE_DOUBLE "double"
STR_TYPE_CHAR10 "char10"
STR_TYPE_CHAR20 "char20"
STR_TYPE_CHAR100 "char100"
STR_TYPE_CHAR254 "char254"
STR_TYPE_CHAR500 "char500"
STR_TYPE_TEXT "text"
STR_TYPE_LONGTEXT "longtext"