Re: [Tracker] GetAll method in the API



On Mon, 2008-09-29 at 21:52 +0300, Ivan Frade wrote:
Hi all,

 We have found that the query "Give me all metadata you know about a
file" is pretty useful, and there were no direct method to do it in the
current tracker API.

 I attach a patch that implements this feature in a new "GetAll" method
in the "Metadata" interface. Everything ok to commit it? Reviews and
comments are welcome.

 Thanks,


could you create an Sp for the query pls - static queries should always
be done that way for performance reasons (dynamic ones cant and are the
exception)

I would also join the three queries into one to make it faster ( use
UNION to merge the queries into one)

otherwise ok

jamie




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]