Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我希望我的 rawQuery 根据这两个条件填充我的数据。但它正在显示和空列表视图。它不是比较第二个条件。
Cursor c = db.myDataBase.rawQuery("SELECT _id, word,definition,sentence,yourstory,isfavor FROM words WHERE word LIKE ? AND isfavor= ? ",new String[]{""+employeeId+"%",""+'1'});