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

Module MySQLdb.constants.FLAG

MySQL FLAG Constants

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


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

Variable Details

AUTO_INCREMENT

Type:
int
Value:
512                                                                   

BINARY

Type:
int
Value:
128                                                                   

BLOB

Type:
int
Value:
16                                                                    

ENUM

Type:
int
Value:
256                                                                   

GROUP

Type:
int
Value:
32768                                                                 

MULTIPLE_KEY

Type:
int
Value:
8                                                                     

NOT_NULL

Type:
int
Value:
1                                                                     

NUM

Type:
int
Value:
32768                                                                 

PART_KEY

Type:
int
Value:
16384                                                                 

PRI_KEY

Type:
int
Value:
2                                                                     

SET

Type:
int
Value:
2048                                                                  

TIMESTAMP

Type:
int
Value:
1024                                                                  

UNIQUE

Type:
int
Value:
65536                                                                 

UNIQUE_KEY

Type:
int
Value:
4                                                                     

UNSIGNED

Type:
int
Value:
32                                                                    

ZEROFILL

Type:
int
Value:
64                                                                    

Generated by Epydoc 2.1 on Sat Mar 3 21:14:16 2007 http://epydoc.sf.net