python - How to perform case insensitive title search in Google Drive API? -
i wanted search in google documents title provided user.this search should case insensitive user may not have exact title. doing search below
param = {"q":"title = 'my test file'"} files = service.files().list(**param).execute() i don't results , there file title "my test file" not see information in google documentation case insensitive seacrh, google docs
but if search below , 1 result
param = {"q":"title = 'my test file'"} files = service.files().list(**param).execute()
for can try contains operator instead.
it not case sensitive. contains operator performs prefix matching title. example, title "helloworld" match title contains 'hello' not title contains 'world'. tried make search contains operator , did list file.
Comments
Post a Comment