How can I compare email addresses if the "@" is being seen by the
system/query processor as an invalid token?

On Dec 29, 9:43 pm, Erwin Quinto <erwin.qui...@gmail.com> wrote:
> Hi I'm using Google Spreadsheets Data API for my current project. We
> stored employee records on the a google spreadsheet. We have a
> requirement to query all records with the given email address. Here's
> my sample code:
>
>             RecordQuery query = new RecordQuery(recordsFeedUrl);
>             query.setSpreadsheetQuery("email=some...@there.org");
>             System.out.println(query.getUrl().toString());
>             RecordFeed feed = service.query(query, RecordFeed.class);
>
> When I try to run it an "Parse error: Invalid token encountered" error
> is thrown. Doing some experiments I found out that the "@" character
> is the one causing the trouble. Would anyone here know how to go about
> this? Did anybody already encountered similar problem?

--

You received this message because you are subscribed to the Google Groups 
"Google Docs Data APIs" group.
To post to this group, send email to google-docs-data-a...@googlegroups.com.
To unsubscribe from this group, send email to 
google-docs-data-apis+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/Google-Docs-Data-APIs?hl=en.


Reply via email to