Dinner: columns: date: { type: timestamp, notnull: true } nb_presents: { type: integer, notnull: true } relations: Marks: class: Criteria local: dinner_id foreign: criteria_id refClass: Mark type: many
Criteria: columns: name: { type: string(50), notnull: true } relation: Marks: class: Dinner local: criteria_id foreign: dinner_id refClass: Mark type: many Mark: columns: criteria_id: { type: integer, primary: true } dinner_id: { type: integer, primary: true } value: { type: integer, notnull: true } relations: Dinner: local: dinner_id foreign: id Criteria: local: criteria_id foreign: id My question is why can `local` refer to a column which is not in the class itself. Take the `Dinner` as example,its `local` is `dinner_id` but the column is not within `Dinner`,but `Mark`.Or maybe I'm understanding the `local` wrongly ? -- You received this message because you are subscribed to the Google Groups "symfony users" group. To post to this group, send email to symfony-us...@googlegroups.com. To unsubscribe from this group, send email to symfony-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/symfony-users?hl=en.