sqlalchemy :: types :: UnicodeText :: Class UnicodeText |
[frames] | no frames]

# Class UnicodeText

A synonym for Text(convert_unicode=True, assert_unicode='warn').

Instance Methods
__init__(self, length=None, **kwargs) Create a Unicode-converting Text type. |
Inherited from `String`: `adapt`, `bind_processor`, `get_dbapi_type`, `result_processor` Inherited from `Concatenable`: `adapt_operator` Inherited from `TypeEngine`: `__getstate__`, `dialect_impl`, `get_col_spec`, `get_search_list` Inherited from `AbstractType`: `__repr__`, `compare_values`, `copy_value`, `is_mutable` Inherited from `object`: `__delattr__`, `__format__`, `__getattribute__`, `__hash__`, `__new__`, `__reduce__`, `__reduce_ex__`, `__setattr__`, `__sizeof__`, `__str__`, `__subclasshook__`

Properties
Inherited from `object`: `__class__`

Method Details

### __init__(self, length=None, **kwargs) (Constructor) |
Create a Unicode-converting Text type. Parameters: `length` - optional, a length for the column for use in DDL statements. May be safely omitted if no `CREATE TABLE` will be issued. Certain databases may require a length for use in DDL, and will raise an exception when the `CREATE TABLE` DDL is issued. Whether the value is interpreted as bytes or characters is database specific. Overrides: object.__init__