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