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.
有谁知道为什么它不起作用
bd.rawQuery("SELECT * FROM TABLE_NAME WHERE date(date_start)=?",new String[]{"date('now')"});
我对其进行了测试,我认为问题在于它不能将 date('now') 识别为 sqlite 函数,而只是将其识别为字符串。
我可以解决这个问题吗?
谢谢