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

Module MySQLdb.constants.FIELD_TYPE

MySQL FIELD_TYPE Constants

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


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

Variable Details

BIT

Type:
int
Value:
16                                                                    

BLOB

Type:
int
Value:
252                                                                   

CHAR

Type:
int
Value:
1                                                                     

DATE

Type:
int
Value:
10                                                                    

DATETIME

Type:
int
Value:
12                                                                    

DECIMAL

Type:
int
Value:
0                                                                     

DOUBLE

Type:
int
Value:
5                                                                     

ENUM

Type:
int
Value:
247                                                                   

FLOAT

Type:
int
Value:
4                                                                     

GEOMETRY

Type:
int
Value:
255                                                                   

INT24

Type:
int
Value:
9                                                                     

INTERVAL

Type:
int
Value:
247                                                                   

LONG

Type:
int
Value:
3                                                                     

LONG_BLOB

Type:
int
Value:
251                                                                   

LONGLONG

Type:
int
Value:
8                                                                     

MEDIUM_BLOB

Type:
int
Value:
250                                                                   

NEWDATE

Type:
int
Value:
14                                                                    

NEWDECIMAL

Type:
int
Value:
246                                                                   

NULL

Type:
int
Value:
6                                                                     

SET

Type:
int
Value:
248                                                                   

SHORT

Type:
int
Value:
2                                                                     

STRING

Type:
int
Value:
254                                                                   

TIME

Type:
int
Value:
11                                                                    

TIMESTAMP

Type:
int
Value:
7                                                                     

TINY

Type:
int
Value:
1                                                                     

TINY_BLOB

Type:
int
Value:
249                                                                   

VAR_STRING

Type:
int
Value:
253                                                                   

VARCHAR

Type:
int
Value:
15                                                                    

YEAR

Type:
int
Value:
13                                                                    

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