@@ -18,7 +18,7 @@ our project. Finally we still choose based on Android Framework Java API.
18
18
19
19
In Native platforms, things look different. We can call SQLite C API directly, this is the most intuitive way.
20
20
The ability of Kotlin/Native interop with C is very perfect, but in Kotlin/Native you must use some APIs to
21
- complete interop with C that very difficult to understanding, like: ` memScoped ` , ` CPointer ` , ` CPointerVarOf ` , ` toKString ` etc..
21
+ complete interop with C that very difficult to understanding, like: ` memScoped ` , ` CPointer ` , ` CPointerVarOf ` , ` toKString ` , etc..
22
22
So, in the beginning, I chose the [ SQLiter] ( https://github.com/touchlab/SQLiter ) , that's a Kotlin/Native multiplatform
23
23
library. If I use it, I can put the Kotlin-C interop translate to Kotlin language-internal calls. It is very
24
24
convenient. [ SQLiter] ( https://github.com/touchlab/SQLiter ) also is the driver that
@@ -30,6 +30,8 @@ example, [SQLiter](https://github.com/touchlab/SQLiter) updates very infrequentl
30
30
it still hasn't been merged, and no one replied to me. And, after Kotlin ` 1.8.0 ` , Kotlin/Native added a new target:
31
31
` watchosDeviceArm64 ` . Due to [ SQLiter] ( https://github.com/touchlab/SQLiter ) updates infrequently, SQLlin can't support
32
32
` watchosDeviceArm64 ` either. So, I decided to implement interop with SQLite C APIs by myself as I originally conceived.
33
+ Before the version ` 1.1.0 ` , _ sqllin-driver_ use [ SQLiter] ( https://github.com/touchlab/SQLiter ) , and after ` 1.1.0 ` (including),
34
+ _ sqllin-driver_ use the _ New Native Driver_ .
33
35
34
36
Whatever, [ SQLiter] ( https://github.com/touchlab/SQLiter ) still is a good project. I referred to a lot of designs and code
35
37
details from it and use them in _ New Native Driver_ in _ sqllin-driver_ .
0 commit comments