[daisy] SELECT DISTINCT
Carlos Palol
carlos.palol.listas at gmail.com
Fri Nov 24 06:39:16 CST 2006
On 11/24/06, Bruno Dumon <bruno at outerthought.org> wrote:
> Daisy queries are quite different from SQL queries in that they always
> search for documents, and each row of the resultset corresponds to a
> document (in contrast to simply a table of values). Each document
> appears at most once in the resultset, so it contains only distinct
> documents.
>
I understand.
> Given this, it is not really possible to do distinct queries on values
> in Daisy. However, there is a method on the QueryManager
> (performDistinctQuery) which executes a query and returns the list of
> distinct values of the first value selected in a query. This is
> currently only used for filling up query-based selection lists.
>
>
Yes, actually what i'm trying to do resemles very much one of these
daisy query-based selection lists, but in my public website, where i'm
making internal http queryies from. I'll try to use this
functionality.
Thanks,
--
Carlos Palol
More information about the daisy
mailing list