#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() 介面回傳。