How to enable SQLITE_ENABLE_UPDATE_DELETE_LIMIT in android?

"SQLITE_ENABLE_UPDATE_DELETE_LIMIT" is a variant of SQLite. People will compile their own SQLite and add this parameter so that the SQLite database supports the SQL Command "Limit" function.

But how can I enable this option in Android? I need to create a function to restrict the update and delete functions to access the SQLite database in Android applications. And I can not find a solution to this.

If I write an SQL command with "limit", it will return a syntax error to me. If I remove the “restriction”, this will make the update and delete function unsafe.

+2
source share
1 answer

Android?

SQLite NDK , SQLite LIMIT UPDATE DELETE. - SQLite.

; - , , LIMIT .

+4

All Articles