SQLiteException: no such column: basal (code 1)

后端 未结 5 2030
予麋鹿
予麋鹿 2021-01-22 13:00

I\'m working with databases and I have the following DataBaseHandling class:

public class DatabaseHandler extends SQLiteOpenHelper {

// All Static variables
//          


        
5条回答
  •  星月不相逢
    2021-01-22 13:36

    Remove , End of Query

    KEY_BASAL + "REAL NOT NULL," + ")";
                              ^
                              | Here
    

    And Use Space For Concat Strings

    KEY_BASAL + "REAL NOT NULL," + ")";
                 ^
                 | Here
    

    GoodLuck

提交回复
热议问题