I'm working with a database (Sybase ASE) which supports a non-null BIT type. For Column(Boolean, nullable=False), SQLA's use of BIT is ideal, but I need to have Column(Boolean, nullable=True) produce a TINYINT + Check constraint.
The DDL compiler only provides the type (not the full column) to visit_Boolean, so that's a bit too low-level to check NULL-ability. I can get at the column object with sys._get_frame() or by post-processing the DDL, but I figured I'd check if SQLA has a native solution. Michael -- You received this message because you are subscribed to the Google Groups "sqlalchemy" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/sqlalchemy. For more options, visit https://groups.google.com/d/optout.
