Hi all,

  Dose anybody know that how to use the many-to-many relationship in
the lift model ?

  * We need to create a 3 models to represent the 3 tables ( teachers,
students, teacher_student )
    ex:
    teachers  ->  id, name, sex, age, ...
    students ->   id, name, sex, age, ...
    teacher_student -> id, student_id, teacher_id

  * How to write the code in the model to represent this
relationship ?

  Or any other ways that can achieve this purpose ?

  Thanks for any suggestion !

Cheers,
  Neil

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Lift" group.
To post to this group, send email to liftweb@googlegroups.com
To unsubscribe from this group, send email to 
liftweb+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/liftweb?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to