在线文档教程
Sqlite
C界面 | C Interface

Authorizer Return Codes

Authorizer Return Codes

#define SQLITE_DENY 1 /* Abort the SQL statement with an error */ #define SQLITE_IGNORE 2 /* Don't allow access, but don't generate an error */

授权方回调函数必须返回SQLITE_OK,以便向SQLite发出是否允许该操作的信号。有关更多信息,请参阅授权者文档。

SQLITE_IGNORE可以被用作从sqlite3_vtab_on_conflict()接口返,回的冲突解决方法。

See also lists of Objects, Constants, and Functions.

SQLite is in the Public Domain.

https://sqlite.org/c3ref/c_deny.html