sqlite3_key

actual fun sqlite3_key(db: sqlite3, key: ByteArray, nKey: Int): SqliteResultCode(source)

sqlite3_key() set the database key to use when accessing an encrypted database, and should usually be called immediately after sqlite3_open().

sqlite3_key() is used to set the key for the main database.

If sqlite3_key() is called on an empty database, then the key will be initially set. The return value is SQLITE_OK on success, or a non-zero SQLite3 error code on failure.

expect fun sqlite3_key(db: sqlite3, key: ByteArray, nKey: Int): SqliteResultCode(source)

sqlite3_key() set the database key to use when accessing an encrypted database, and should usually be called immediately after sqlite3_open().

sqlite3_key() is used to set the key for the main database.

If sqlite3_key() is called on an empty database, then the key will be initially set. The return value is SQLITE_OK on success, or a non-zero SQLite3 error code on failure.

actual fun sqlite3_key(db: sqlite3, key: ByteArray, nKey: Int): SqliteResultCode(source)

sqlite3_key() set the database key to use when accessing an encrypted database, and should usually be called immediately after sqlite3_open().

sqlite3_key() is used to set the key for the main database.

If sqlite3_key() is called on an empty database, then the key will be initially set. The return value is SQLITE_OK on success, or a non-zero SQLite3 error code on failure.

actual fun sqlite3_key(db: sqlite3, key: ByteArray, nKey: Int): SqliteResultCode(source)

sqlite3_key() set the database key to use when accessing an encrypted database, and should usually be called immediately after sqlite3_open().

sqlite3_key() is used to set the key for the main database.

If sqlite3_key() is called on an empty database, then the key will be initially set. The return value is SQLITE_OK on success, or a non-zero SQLite3 error code on failure.

actual fun sqlite3_key(db: sqlite3, key: ByteArray, nKey: Int): SqliteResultCode(source)

sqlite3_key() set the database key to use when accessing an encrypted database, and should usually be called immediately after sqlite3_open().

sqlite3_key() is used to set the key for the main database.

If sqlite3_key() is called on an empty database, then the key will be initially set. The return value is SQLITE_OK on success, or a non-zero SQLite3 error code on failure.