list search

A place for users and developers of the Xataface to discuss and receive support.

list search

Postby dom » Thu Feb 07, 2013 3:51 am

I have a somewhat simplek question but couldn't find a answer, neither in the bord nor in the wiki.
Assuming I have a table with the columns 'names' (eg. bob, tom, hanna, susi and pete ) and 'age' (15, 30, 29, 100, 3). I now want to be able to search for a list, say i want the records for 'tom' and 'susi'. Is it possible to perform this in one search by just adding a list to the search field?

I'm not an expert in sql or php or anything related, so I was very happy to find xataface that is -- except nasmed issue -- perfect for my needs.

Posts: 2
Joined: Thu Feb 07, 2013 3:43 am

Re: list search

Postby shannah » Thu Feb 07, 2013 9:57 am

Check the wiki page on Xataface URL conventions. It will give you a good idea of what is possible with Xataface.
The global search field doesn't support "OR" searches, but the individual fields do.

E.g. You can search for "tom OR susi" in the "name" search field and it will return the tom and susi rows.

Steve Hannah
@shannah78 (on twitter) blog
Posts: 4457
Joined: Wed Dec 31, 1969 5:00 pm

Re: list search

Postby dom » Fri Feb 08, 2013 5:28 am

Yes, that's exactly what I was looking for.
Posts: 2
Joined: Thu Feb 07, 2013 3:43 am

Return to Xataface Users

Who is online

Users browsing this forum: No registered users and 2 guests

Powered by Dataface
© 2005-2007 Steve Hannah All rights reserved