paul-prasanta / google-spreadsheet-lib-android

Google SpreadSheet Lib for Android
1 stars 0 forks source link

Apply Query Using % or ? Sign #15

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Hello

Thanks for your Google spreadsheet API example . using that API I am Creating 
one application that application stored data in Google docs spreadsheet.

In My application i want to fetch records on basis of criteria ,in google 
spreadsheet records are stored in following manner.

---- -------------
Id | Name
---- -------------
1    Chirag Raval
2    Chirag Raval 
3    Milind Kanani
4    Milind Kanani

I want to search record by name . Here i am  only passed "Chirag" but its not 
return any records. 

 ArrayList<Record> records = wk.getRecords(sp.getKey(), false, HttpConHandler.encode("Name") + "=" + HttpConHandler.encode("Chirag"),
"column:Name");

Can you please suggests me how to apply this query ?

Thanks.

Regards,
Chirag Raval.

Original issue reported on code.google.com by chirag.v...@gmail.com on 3 Sep 2011 at 5:45