class documentation

class NumericSqlVariant(TypeDecorator): (source)

View In Hierarchy

This type casts sql_variant columns in the identity_columns view to numeric. This is required because: * pyodbc does not support sql_variant * pymssql under python 2 return the byte representation of the number, int 1 is returned as "\x01\x00\x00\x00". On python 3 it returns the correct value as string.

Method column_expression Undocumented
Class Variable cache_ok Undocumented
def column_expression(self, colexpr): (source)

Undocumented

cache_ok: bool = (source)

Undocumented