Home | Trees | Indices | Help |
---|
|
|
|||
| __repr__(...) | ||
|
is_not_null(...) Determine if this is a NOT NULL column. |
||
|
is_numeric(...) Determine if this column is a numeric type. |
||
|
is_primary_key(...) Determine if this column has a primary key. |
|
|||
|
catalog = '' The catalog name. |
||
|
charset_number = 0 The character set number for the field. |
||
|
db = '' The name of the database that the field comes from. |
||
|
decimals = 0 The number of decimals for numeric fields. |
||
|
default = '' The default value of this field. |
||
|
flags = 0 Different bit-flags for the field. |
||
|
length = 0 The width of the field, as specified in the table definition. |
||
|
max_length = 0 The maximum width of the field for the result set (the length of the longest field value for the rows actually in the result set). |
||
|
name = '' The name of the field. |
||
|
org_name = '' The name of the field. |
||
|
org_table = '' The name of the table. |
||
|
table = '' The name of the table containing this field, if it isn't a calculated field. |
||
|
type = 0 The type of the field (from mysql.constants.field_types). |
|
|
Determine if this is a NOT NULL column.
|
Determine if this column is a numeric type.
|
Determine if this column has a primary key.
|
|
catalogThe catalog name. This value is always "def".
|
charset_numberThe character set number for the field.
|
dbThe name of the database that the field comes from. If the field is a calculated field, db is an empty string.
|
decimalsThe number of decimals for numeric fields.
|
defaultThe default value of this field. This is currently always None.
|
flagsDifferent bit-flags for the field. The flags value may have zero or more bits set that are defined in mysql.constants.field_flags.
|
lengthThe width of the field, as specified in the table definition. For integers, this is the space required to store the value as a string. For BLOB or TEXT fields, it is the maximum size of the field.
|
max_lengthThe maximum width of the field for the result set (the length of the longest field value for the rows actually in the result set). For integers, this is the space required to store the value as a string. If you use set store_result to True, this contains the maximum length for the field. Otherwise the value of this variable is zero. For statements, this is not set unless mysql.stmt.Statement.set_update_max_length is called on the statement object.
|
nameThe name of the field. If the field was given an alias with an AS clause, the value of name is the alias.
|
org_nameThe name of the field. Aliases are ignored.
|
org_tableThe name of the table. Aliases are ignored.
|
tableThe name of the table containing this field, if it isn't a calculated field. For calculated fields, the table value is an empty string. If the table was given an alias with an AS clause, the value of table is the alias.
|
typeThe type of the field (from mysql.constants.field_types).
|
Home | Trees | Indices | Help |
---|
Generated by Epydoc 3.0alpha3 on Sun Nov 12 20:01:34 2006 | http://epydoc.sourceforge.net |