Hi Mat,

On 20/09/2013 01:07, Mat Leonard wrote:
I'm having a problem adding

    class Session(Base):

        __tablename__ = 'sessions'
        id = sql.Column(sql.Integer, primary_key=True
        units = sql.orm.relationship("Unit",
                                     order_by="Unit.id",
                                     backref="session",
                                     cascade="all, delete, delete-orphan")


And what would the bug be?

Your "id" line is missing a closing ")" but I wouldn't consider that a bug:-)

You might want to provide little bit more detail about the problem you are having.

Werner

--
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/groups/opt_out.

Reply via email to