Issues

Issue #2259 resolved

Association Object pattern example: association table lacks data column

Anonymous created an issue

In the documentation about ''The association object pattern'' (http://www.sqlalchemy.org/docs/orm/relationships.html#association-object) it seems the data column is missing in the association table. The whole idea about this pattern is to have an association table with additional columns beyond those which are foreign keys to the left and right tables. But the association table has no extra columns. Further on in the example ''association_object''.data is accessed so it seems that data column is missing in the declarative declaration of the association table.

Comments (3)

  1. Mike Bayer repo owner
    • changed milestone to 0.7.4

    how to express this succinctly without people mistaking it for a "data" column being "required" ? sometimes these examples are a no-win situation.

  2. Log in to comment