无法准备语句(1 无权使用功能:随机)
Could not prepare statement (1 not authorized to use function: random)
使用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
random()
功能不是 Web SQL 的一部分;你不能使用它。
您必须以不同的方式实现您的查询。
RAND() 不起作用还是一回事?
使用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
random()
功能不是 Web SQL 的一部分;你不能使用它。
您必须以不同的方式实现您的查询。
RAND() 不起作用还是一回事?