
SQLite
文章平均质量分 60
songzi1228
代码一敲,烦恼全消。
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
代码样例代码样例代码样例
1、依赖 implementation "com.amap.api:3dmap:latest.integration" implementation "com.amap.api:location:latest.integration" 2、bean 2.1、CaptureImage /** * on 2020/2/25 * Description: 跟 RddImage 相似的实体类,用于 接口 ${RequestCenter postRddImageList } */ public c原创 2021-08-12 22:56:08 · 297 阅读 · 0 评论 -
SQLite高级语句查询
1、插入数据 /** * 保存图片 * * @param db 数据库对象 * @param imageId 图片ID 使用UUID * @param bitmap 位图 * @param angle 图片的旋转角度 * @param width ...原创 2020-02-27 16:37:07 · 962 阅读 · 0 评论 -
数据存储之SQLite
目录 0、相关视频 1、相关文章 2、什么是SQLite 2.1、SQLite支持的数据类型 2.2、sql语句 2.2.1、创建表 2.2.2、删除表 2.2.3、插入数据 2.2.4、修改数据 2.2.5、删除数据 2.2.6、查询语句 3、SQLite数据库的创建 0、相关视频 Android基础-初识SQLite Android基础教程-SQLite高级操作 ...原创 2019-11-19 16:42:46 · 376 阅读 · 0 评论 -
SQLite存储读取图片
0、相关文章: Android入门——数据存储之SQLite存储读取图片(阅读量1.3w,4赞) Android开发——利用数据库存储图片(阅读量3k,1赞)原创 2019-12-03 10:47:04 · 1025 阅读 · 0 评论 -
android SQLite:没有这样的ACOS函数存在
目录 0、相关文章: 1、正文 2、原因: 3、解决方案: 0、相关文章: http://www.it1352.com/161373.html 1、正文 问题描述:通过一下sql语句,希望根据当前的经纬度查询方圆五公里内的需要打点的所有坐标点的经纬度 String sql = "SELECT * , (6371 * ACOS ( cos ( radians ( " + lati...原创 2019-12-04 16:16:34 · 335 阅读 · 0 评论 -
SQLite 语句举例
自己写的一些SQL语句: public class DbManager { private static MySqliteHelper helper; public static MySqliteHelper getInstance(Context context) { if (helper == null) { helper = n...原创 2019-12-04 17:46:19 · 395 阅读 · 0 评论 -
Android:android.database.sqlite.SQLiteConstraintException:UNIQUE constraint failed
可能发生这种BUG的两种情况 1:定义的字段为NOT NULL,而插入时对应的字段为NULL 2:你定义的自动为PRIMARY,而插入时想插入的值已经在表中存在。 针对情况2,greendao建议用insertOrReplace代替insert ...原创 2018-08-06 16:36:00 · 2021 阅读 · 0 评论