File: FLAG.py

package info (click to toggle)
python-mysqldb 1.2.1c2-1
  • links: PTS
  • area: main
  • in suites: sarge
  • size: 336 kB
  • ctags: 694
  • sloc: ansic: 2,507; python: 1,085; sh: 129; makefile: 65
file content (23 lines) | stat: -rw-r--r-- 363 bytes parent folder | download | duplicates (12)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
"""MySQL FLAG Constants

These flags are used along with the FIELD_TYPE to indicate various
properties of columns in a result set.

"""

NOT_NULL = 1
PRI_KEY = 2
UNIQUE_KEY = 4
MULTIPLE_KEY = 8
BLOB = 16
UNSIGNED = 32
ZEROFILL = 64
BINARY = 128
ENUM = 256
AUTO_INCREMENT = 512
TIMESTAMP = 1024
SET = 2048
NUM = 32768
PART_KEY = 16384
GROUP = 32768
UNIQUE = 65536