简体   繁体   中英

like query in Appcelerator cloud service for android sdk

am using appcelerator cloud services for android sdk. I've audio files uploaded on the ACS.Now i want to search those audio file with "Like" query which is used in SQL. for example

SELECT * FROM Customers
WHERE Country LIKE '%land%'; 

and the result would be like

Ireland
finland
poland

i'v searched ACS documentation but couldn't find anything that like query at all. any help would be much appreciated. Thanks :)

it can not be done.

the best you can do is a regex query OR a full text query. With the regex query it will only perform a "starts with" not a contains query... see documentation here

http://docs.appcelerator.com/cloud/latest/#!/guide/search_query

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM