dbbase.column_types.WriteOnlyColumn.cast

WriteOnlyColumn.cast(type_)

Produce a type cast, i.e. CAST(<expression> AS <type>).

This is a shortcut to the _expression.cast() function.

See also

coretutorial_casts

_expression.cast()

_expression.type_coerce()

New in version 1.0.7.