Package MySQLdb :: Package constants :: Module FIELD_TYPE
[hide private]
[frames] | no frames]

Module FIELD_TYPE

source code

MySQL FIELD_TYPE Constants

These constants represent the various column (field) types that are supported by MySQL.

Variables [hide private]
  DECIMAL = 0
  TINY = 1
  SHORT = 2
  LONG = 3
  FLOAT = 4
  DOUBLE = 5
  NULL = 6
  TIMESTAMP = 7
  LONGLONG = 8
  INT24 = 9
  DATE = 10
  TIME = 11
  DATETIME = 12
  YEAR = 13
  NEWDATE = 14
  VARCHAR = 15
  BIT = 16
  NEWDECIMAL = 246
  ENUM = 247
  SET = 248
  TINY_BLOB = 249
  MEDIUM_BLOB = 250
  LONG_BLOB = 251
  BLOB = 252
  VAR_STRING = 253
  STRING = 254
  GEOMETRY = 255
  CHAR = 1
  INTERVAL = 247