schematic
schematic copied to clipboard
using where to add LIKE statement
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
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