当前位置:首页 > 数据库 > SQlite

SQLite数据库增删改查

     Create a helper object to create, open, and/or manage a database.

  SQLiteOpenHelper(Context context, String name, SQLiteDatabase.CursorFactory factory, int version, DatabaseErrorHandler errorHandler)

  Create a helper object to create, open, and/or manage a database.       第一个参数指定Context,参数name指定数据库的名称,factory为数据库操作工厂,version为数据库版本。   通过子类继承实SQLiteOpenHelper 并现构造方法,调用是直接创建该类并指定参数。     公共方法(Public Methods)介绍: 技术分享【说明】:本文章由站长整理发布,文章内容不代表本站观点,如文中有侵权行为,请与本站客服联系(QQ:254677821)!