schematic icon indicating copy to clipboard operation
schematic copied to clipboard

using where to add LIKE statement

Open twalipo opened this issue 8 years ago • 1 comments

how can i write a query like SELECT * FROM table_one WHERE name LIKE '%jac%' using @InexactContentUri, and i just cant get the where clause to work

twalipo avatar Dec 15 '17 20:12 twalipo

it more like a can't use where clause here is my example @InexactContentUri( name = "SEARCH_QUERY", path = Path.TUNES + "/*", type = "vnd.android.cursor.dir/tune", where = TuneColumns.TITLE + " LIKE ? ", whereColumn = {}, pathSegment = 1) public static Uri withQuery(String query){ return buildPath(Path.TUNES, query ); } this doesn't work

twalipo avatar Dec 16 '17 08:12 twalipo