schemas, particularly when those schemas are the
default schema. [ticket:1217]
+ - Corrected problem with casting a zero length item to
+ a varchar. It now correctly adjusts the CAST.
+
- ext
- Can now use a custom "inherit_condition" in
__mapper_args__ when using declarative.
class MSString(sqltypes.String):
def get_col_spec(self):
- return "VARCHAR(%(length)s)" % {'length' : self.length}
+ return "VARCHAR" + (self.length and "(%d)" % self.length or "")
class MSNVarchar(sqltypes.Unicode):
def get_col_spec(self):