I have a general question about how to do something in SQLObject. I
have two models, and Item model and a Collection model. They have a
RelatedJoin between them because an item can be in many collections and
a collection can have many items.

I want to sort the list of items by the number of collections that they
are in (i.e. those items included in the most collections first). How
would you go about doing this with SQLObject? orderBy will only take
strings that are column names, so I don't think that's what I want.

Thanks!

- Sean


-------------------------------------------------------------------------
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