how to insert and update many to many relationships

Notice: This thread is very old.
Member | 28

I have looked through the documentation and cant find anything that explains how to insert and update to the database using the ORM.

I know how to do simple inserts from going through the blog example, but I am wondering how to maintain a reference table for many to many relationships.