You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The only way I could get sqlcipher_export() to work at all in Android is to execute it via rawExecSQL(), per your recipe. I can't use execSQL() because SELECT sqlcipher_export('encrypted') is a SELECT statement (so SQLiteDatabase complains), and I can't use rawQuery() because... well, it just doesn't seem to actually run.
Is rawExecSQL() part of a stable public SQLCipher for Android API? I ask, because there is no such method in native Android's SQLiteDatabase. I just want to make sure that this is a method you expect users of SQLCipher for Android to be relying upon.
Thanks!
The text was updated successfully, but these errors were encountered:
Yes, we added the rawExecSQL() to the library to allow for queries that include a SELECT statement but do not return a resultset, the sqlcipher_export function is a good example of that. You should consider it part of the stable public API to SQLCipher for Android.
The only way I could get
sqlcipher_export()
to work at all in Android is to execute it viarawExecSQL()
, per your recipe. I can't useexecSQL()
becauseSELECT sqlcipher_export('encrypted')
is aSELECT
statement (soSQLiteDatabase
complains), and I can't userawQuery()
because... well, it just doesn't seem to actually run.Is
rawExecSQL()
part of a stable public SQLCipher for Android API? I ask, because there is no such method in native Android'sSQLiteDatabase
. I just want to make sure that this is a method you expect users of SQLCipher for Android to be relying upon.Thanks!
The text was updated successfully, but these errors were encountered: