Sometimes in a many-to-many relationship, an attribute will belong to
the relationship rather than to the either of the objects.
Let's say in the dog's-owners example you wanted to include the dog's
license tag number. Using normalized tables it would work something
like this:
db.define_table(dogs, Field(name))
db.define_table(owners, Field(name))
db.define_table(dog_owners,
Field(dog_id, db.dogs),
Field(owner_id, db.owners),
Field(license_tag_num))
Is there a way to do this using tagging?
It would simplify coding considerably.