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

Source Code for Module MySQLdb.constants.FLAG

 1  """MySQL FLAG Constants 
 2   
 3  These flags are used along with the FIELD_TYPE to indicate various 
 4  properties of columns in a result set. 
 5   
 6  """ 
 7   
 8  NOT_NULL = 1 
 9  PRI_KEY = 2 
10  UNIQUE_KEY = 4 
11  MULTIPLE_KEY = 8 
12  BLOB = 16 
13  UNSIGNED = 32 
14  ZEROFILL = 64 
15  BINARY = 128 
16  ENUM = 256 
17  AUTO_INCREMENT = 512 
18  TIMESTAMP = 1024 
19  SET = 2048 
20  NUM = 32768 
21  PART_KEY = 16384 
22  GROUP = 32768 
23  UNIQUE = 65536 
24