[rt-devel] SearchBuilder DISTINCTs

Matt Knopp mhat at netlag.com
Thu Feb 20 14:09:42 EST 2003


Sure, but you are forcing constraints on the query that can not be altered
or influenced using the query-altering parts of the API, ala Limit. I would
not have made that design decision, I think it's bogus. 

I'm curious what problems you are envisioning with removing distinct from 
a majority of the queries? For anything other then joins it seems like your
pkeys should be sufficient, and in the case of joins you (the caller) 
ultimately must understand the implications of the query you are executing. 
So I don't think it is unreasonable to force them to set a distinct flag. 

--
Matt






More information about the Rt-devel mailing list