Difference between rawExecSQL and execSQL?


Hello everyone,
1.I want to ask about the difference between rawExecSQL and execSQL commands?

2.The processing speed of rawExecSQL and execSQL which one is faster?

SQLCipher for Android version:3.5.8


Hi @chihung93

You can review the actual native implementation of native_rawExecSQL, and native_execSQL as there is not much to the Java side of those. There is a bit more going on with native_execSQL, however native_execSQL does not allow you to return a row, thus we tend to utilize the Java rawExecSQLnative_rawExecSQL for invoking PRAGMA commands that return values.