Is it possible to have relation attributes in a RelatedJoin?

For example, I have Items and Groups:

Item
    ID
    Name


Group
    ID
    Name

To put items in groups, you would have an intermediate table:

ItemGroupMap
    item_id
    group_id

Now say I want this group to have order. So, in an RDB I would change ItemGroupMap to:

ItemGroupMap
    item_id
    group_id
    position
    unique(group_id, position)

Is there a way to have this relationship in sqlobject?

~jonathon
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
sqlobject-discuss mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/sqlobject-discuss

Reply via email to