52ky 发表于 2022-11-9 14:26:47

Android研究院之游戏开发数据库SQLite (八)源码

数据库最经典的四个操作增加、删去、修改、搜索,在管理很多数据的时候使用数据库可以帮大家敏捷定位当时需求管理的数据,举个比如比如现在要实现一个搜索功能用数据库的话只需求其间一个搜索条件一个数据库语句就可以敏捷的在N条数据中找到大家需求的数据,如果不使用数据库那么搜索起来会十分费事,效率大打折扣,所以在管理很多数据的时候使用数据库是清晰的选择,在Android的开发中使用的数据库是SQLite,它是一个轻量级的数据库、十分小、移植性好、效率高、可靠,嵌入式设备由于遭到硬件条件的限制所以十分合适使用SQLite数据库。本资料共包括以下附件:

(The four most classic operations of the database are adding, deleting, modifying, and searching. When managing a lot of data, using the database can help you quickly locate the data for demand management at that time. For example, if you want to implement a search function with the database now, you can quickly find the data you need in N pieces of data by using only one search condition and one database statement, If you do not use a database, it will be very difficult to search, and the efficiency will be greatly reduced. Therefore, it is a clear choice to use a database when managing a lot of data. The database used in Android development is SQLite, which is a lightweight database, very small, portable, efficient, and reliable. Because of the limitations of hardware conditions, embedded devices are very suitable for using SQLite databases. This document includes the following annexes:)




页: [1]
查看完整版本: Android研究院之游戏开发数据库SQLite (八)源码