Saturday, April 26, 2014

Google Drive API - contains querying a title

If you are using Google Drive API to list files be aware:

title contains <YourString> should be taken as title STARTING WITH <YourString>

If you have a file title such as  foo.extension  :


  1. title contains 'foo' will be on the results
  2. title contains '.extension' will not
  3. title contains 'foo.e' will work ok as well

Use  fullText contains  to get the correct results.

  

No comments:

Post a Comment