加入收藏 | 设为首页 | 会员中心 | 我要投稿 李大同 (https://www.lidatong.com.cn/)- 科技、建站、经验、云计算、5G、大数据,站长网!
当前位置: 首页 > 百科 > 正文

第十二节--SQLite的基本操作的应用(一)

发布时间:2020-12-12 23:29:35 所属栏目:百科 来源:网络整理
导读:SQLiteDatabase: java.lang.Object ? android.database.sqlite.SQLiteClosable ? android.database.sqlite.SQLiteDatabase 原意: Exposes methods to manage a SQLite database. SQLiteDatabase has methods to create,delete,execute SQL commands,and pe
java.lang.Object ? android.database.sqlite.SQLiteClosable ? android.database.sqlite.SQLiteDatabase

原意:

Exposes methods to manage a SQLite database.

SQLiteDatabase has methods to create,delete,execute SQL commands,and perform other common database management tasks.

See the Notepad sample application in the SDK for an example of creating and managing a database.

Database names must be unique within an application,not across all applications.

译文:

展示一些方法来管理SQLite数据库
SQLiteDatabase方法来创建,删除,执行SQL命令,并执行其他常见的数据库管理任务。
查看SDK中的一个创建和管理数据库的例子
数据库名称必须是唯一的一个应用程序,而不是跨所有应用程序。


代码示例:


显示效果:

(编辑:李大同)

【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容!

SQLiteDatabase:

    推荐文章
      热点阅读