pwtools.sql.fix_sqltype

pwtools.sql.fix_sqltype(sqltype)[source]

Fix sqltype string. Force uppercase string and change ‘FLOAT’ -> ‘REAL’.

Parameters:

sqltype (str)

Returns:

st

Return type:

string