|
|
Choosing A Webhost: |
Re: Multiple Qualifiers: msg#00006cms.opengroupware.xmlrpc.devel
On Thu, 2006-06-08 at 02:46 +0200, Helge Hess wrote: > On Jun 7, 2006, at 7:53PM, Adam Tauno Williams wrote: > > Interesting that this doesn't return an error - > > result = server.person.fetch( > > { > > "qualifier": "firstName LIKE '*steve*' AND name LIKE > > '*berns*'", > > "sortOrderings" : ["name",], > > }); > > - but it also returns no data. > > Hm, yes, the EOQualifier=>backend converter checks for the "*". I > think it can't do arbitary LIKE searches either (don't know which > ones it can deal with). > > > Neither does this, which I know should match - > > result = server.person.fetch( > > { > > "qualifier": "firstName LIKE '*tev*' AND name LIKE '*ern*'", > > "sortOrderings" : ["name",], > > }); > > Do you think there might be a bug here? > Maybe. Try 'tev*' instead of '*tev*'. Does this change anything? "qualifier": "firstName LIKE '*teve' AND name LIKE '*ern*'" --> err "qualifier": "firstName LIKE 'tev*' AND name LIKE '*ern*'" --> no data "qualifier": "firstName LIKE 'stev*' AND name LIKE '*ern*'" --> no data "qualifier": "firstName LIKE 'stev*'", --> no data ... hmmm... ok..... "qualifier": "firstname LIKE 'stev*' AND name LIKE '*ern*'" --> RETURNS DATA "qualifier": "firstname LIKE 'steve' AND name LIKE '*ern*'" --> err "qualifier": "firstname LIKE '*steve' AND name LIKE '*ern*'" --> err "qualifier": "firstname LIKE 'steve*' AND name LIKE '*ern*'" --> RETURNS DATA "qualifier": "firstname LIKE 'steve*' AND name LIKE 'Bern*'" --> RETURNS DATA "qualifier": "firstname LIKE 'steve*' AND name LIKE 'Berns*'" --> RETURNS DATA Interesting, so if I stick an * on the end of the value then it works. I suppose that is something better then nothing, but it certainly is odd. -- OpenGroupware.org XML-RPC xmlrpc@xxxxxxxxxxxxxxxxx http://mail.opengroupware.org/mailman/listinfo/xmlrpc
|
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | Re: Multiple Qualifiers, Helge Hess |
|---|---|
| Next by Date: | Re: Multiple Qualifiers, Helge Hess |
| Previous by Thread: | Re: Multiple Qualifiers, Helge Hess |
| Next by Thread: | Re: Multiple Qualifiers, Helge Hess |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
Free MagazinesCisco NewsReceive a free quarterly e-newsletter with exclusive articles on how Cisco IT uses its own products and solutions to enable the business. subscribe Systems Management News, the newspaper for IT systems administration and data center managers! Each issue of Systems Management News is chock-full of news and analysis to help you understand what's happening in your field. subscribe The Enterprise Newsweekly eWeek is the essential technology information source for builders of e-business. subscribe Oracle Magazine Oracle Magazine contains technology strategy articles, sample code, tips, Oracle and partner news, how to articles for developers and DBAs, and more. Oracle (NASDAQ: ORCL) is the world's largest enterprise software company. subscribe Total Telecom Total Telecom is "The Economist of the communications industry". subscribe |
Home
| advertise | OSDir is
an inevitable website.
|