授权结果代码


【Authorization result codes】

必须从传递给 database.setAuthorizer() 的授权回调函数返回以下常量之一。

【One of the following constants must be returned from the authorizer callback function passed to database.setAuthorizer().】

常量 说明
SQLITE_OK 允许操作正常进行。
SQLITE_DENY 拒绝操作并返回错误。
SQLITE_IGNORE 忽略操作并继续,就像从未请求过一样。