- added a catchall **kwargs to MSString, to help reflection of
obscure types (like "varchar() binary" in MS 4.0)
+ - added explicit MSTimeStamp type which takes effect when using
+ types.TIMESTAMP.
+
- orm:
- the full featureset of the SelectResults extension has been merged
into a new set of methods available off of Query. These methods
else:
return None
+class MSTimeStamp(sqltypes.TIMESTAMP):
+ def get_col_spec(self):
+ return "TIMESTAMP"
+
class MSText(sqltypes.TEXT):
def __init__(self, **kw):
self.binary = 'binary' in kw
sqltypes.Boolean : MSBoolean,
sqltypes.TEXT : MSText,
sqltypes.CHAR: MSChar,
+ sqltypes.TIMESTAMP: MSTimeStamp
}
+
ischema_names = {
'boolean':MSBoolean,
'bigint' : MSBigInteger,
'numeric' : MSNumeric,
'float' : MSFloat,
'double' : MSDouble,
- 'timestamp' : MSDateTime,
+ 'timestamp' : MSTimeStamp,
'datetime' : MSDateTime,
'date' : MSDate,
'time' : MSTime,