【发布时间】:2015-05-04 17:53:06
【问题描述】:
使用Query ORDER BY RANDOM() LIMIT 5;
给出错误
无法准备语句(1无权使用函数:随机)
- 如果是,chrome websql 是否支持随机函数为什么我得到 这样的错误?
- 如果需要,我是否需要用户的许可才能使用 RANDOM() 函数? 我应该得到它吗?
- 我在here 上看到了一个问题
- 这是 Chrome 中的错误吗?
- 我应该在启动 Chrome 时打开某种标志吗?
SQLError {message: "could not prepare statement (1 not authorized to use function: random)", code: 5, UNKNOWN_ERR: 0, DATABASE_ERR: 1, VERSION_ERR: 2…}
code: 5
message: "could not prepare statement (1 not authorized to use function: random)"
__proto__: SQLError
【问题讨论】:
标签: sqlite google-chrome web-sql