Android record exists() in database?

前端 未结 6 1349
后悔当初
后悔当初 2020-12-13 10:00

I am looking to the fastest and the correct way to check if a record exists in the database:

public boolean Exists(String _id) {
    Cursor c=db.query(TABLEN         


        
6条回答
提交回复
热议问题