[sqlalchemy] __table_args__ using func.lower(name) didn't work

2018-09-10 Thread Yingchen Zhang
class InviteCode(db.Model): __tablename__ = 'invite_code' id = db.Column(db.BigInteger, primary_key=True, autoincrement=True) code = db.Column(db.VARCHAR(32), nullable=False) created_at = db.Column(db.TIMESTAMP(True), nullable=False) status = db.Column(db.VARCHAR(1),

[sqlalchemy] Re: Attributes missing documentation?

2018-09-10 Thread Ben Creasy
Thanks, that helps me understand and I appreciate the welcome. I can understand that it's not straightforward. I might circle back around and help at some point, especially if I end up using it more heavily. I don't come from a Java background - jsdoc and phpdoc are the main ones outside of