Right now I have a very simple query that pulls records containing a string and a specific date range.
EventQuery eQuery = new EventQuery(calendarInfo.Uri.ToString()); eQuery.Query = "Tennis"; eQuery.StartDate = startDate; eQuery.EndDate = endDate; EventFeed myResultsFeed = _service.Query(eQuery);
Upon request, myResultsFeed will contain atomEntryCollection. Each atom has a headline. As I configured it, there may be several entries with the same name.
I would like my query to be able to select unique names. Is it possible?
API Docs Link
I assumed I could use the WHERE object
Where x = new Where(); x.yadayada();
but it cannot be passed to _service.Query ()
I am also studying the .extraparameters object. is it possible to do something like this?
eQuery.ExtraParameters = "distinct";
Peering at the Partial Answer feature.
http://code.google.com/apis/gdata/docs/2.0/reference.html#PartialResponse
It looks pretty promising.
source share