Nick, > I'm trying to get the distinct values from a column, something like > select distinct first_name from person. > > I could off course do it in python by doing Person.select() and then > looping over the result, but that wouldn't be very efficient, since > Person might contain a lot of records, but not too much different > first_names. > > I tried to figure it out by looking in the sqlobject docs, but I do not > seem to find my way around there...
Google is your friend. http://sqlobject.org/News.html#features via http://www.google.co.uk/search?q=sqlobject+distinct Dave

