Neil, The following thread has very good information on many-to-many implementation: http://groups.google.com.my/group/liftweb/browse_thread/thread/5793917fee419f89
I can't summarize it for you but the thread above do give you some pointers. Cheers, yk On Mon, Oct 26, 2009 at 11:52 AM, Neil.Lv <anim...@gmail.com> wrote: > > 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 -~----------~----~----~----~------~----~------~--~---