我有以下代码
QBuilder.setTables(DATABASE_TABLE + " LEFT JOIN " + DATABASE_TABLE_CHANNEL_TYPES + " ON (" + DATABASE_TABLE + "." + KEY_CH_CHTYPE_ID + " = " + DATABASE_TABLE_CHANNEL_TYPES + "." + KEY_CH_CHTYPE_ID + ")");
String sql = QBuilder.buildQuery(new String[] {KEY_ID, KEY_NAME, KEY_EPG_NAME, KEY_FAV, KEY_CH_CHTYPE, KEY_CH_COU_ID, KEY_CH_CHTYPE}, "", new String[] {}, null, null, KEY_NAME + " DESC", null);
此代码提供常规SQL查询(String SQL)...
我不知道热执行这个String并返回Cursor ...有什么想法吗?
提前致谢!