Android Sqlite字符串的最大长度? [英] Max length of Android Sqlite String?

查看:1191
本文介绍了Android Sqlite字符串的最大长度?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

关于这个问题:

Android上的SQLite如何处理长字符串?

它表示默认的SQLite存储量为10亿.这与实际站点相同.

It says that default SQLite stores at 1 billion. This is the same as the actual site.

但是,正如该人所言,它可能更少.我想知道他们是否可以检查/此值是什么?

However, as the person states, it could be less. I was wondering if their is a way to check/what is this value?

谢谢!

推荐答案

无法在运行时读取Android中的SQLite限制. (SQLite在其C API中具有此功能,但Android并未公开此功能. )

The is no way to read SQLite limits in Android at runtime. (SQLite has a function for this in its C API, but Android does not expose this.)

无论如何,我不知道有哪个Android供应商降低了SQLite的限制. (通常,当他们在自己的应用程序中需要它们或尝试进行优化时,他们会增加一些限制或启用某些选项,但是他们从不费力更改其他内容.)

In any case, I do not know of any Android vendor that has reduced any of SQLite's limits. (Usually, they increase some limit or enable some option when they need it in their own apps or when they try to optimize, but they never bother to change something otherwise.)

这篇关于Android Sqlite字符串的最大长度?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆