Menu

How to join three tables ?

Help
2004-11-28
2013-04-11
  • John Zoetebier

    John Zoetebier - 2004-11-28

    I have three tables linked like this:
    client -> invoice -> payment

    Joining client to invoice works fine.
    Joining payment giver error:
    =>
    No foreign key between table client and table payment !
    =>

    How can I join these three tables ?

     
    • John Zoetebier

      John Zoetebier - 2004-11-29

      I have figured this out.
      Query.join returns Join that can be used to join other tables.

       

Log in to post a comment.

MongoDB Logo MongoDB