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
Copy file name to clipboardExpand all lines: README.md
+7-8Lines changed: 7 additions & 8 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -2,8 +2,8 @@
2
2
3
3
中文版请见[这里](README_CN.md)
4
4
5
-
SQLlin is a Kotlin Multiplatform SQLite library that based on DSL and KSP. You can write SQL statements with your Kotlin code and these can
6
-
be verified by Kotlin compiler. Sample just like be this:
5
+
SQLlin is an ORM library for Kotlin Multiplatform that based on DSL and KSP. It uses SQLite under the hood. You can write SQL
6
+
statements with your Kotlin code and these can be verified by Kotlin compiler. Sample just like be this:
7
7
8
8
```kotlin
9
9
privateval db by lazy { Database(name ="person.db", path = path, version =1) }
@@ -44,10 +44,9 @@ The architecture design of SQLlin is shown in the figure:
44
44
45
45

46
46
47
-
SQLlin has two major parts: _sqllin-dsl_ and _sqllin-driver_. The _sqllin-driver_ is a common multiplatform SQLite low-level
48
-
API, most of the time it is not recommended to use it directly. The _sqllin-dsl_ is the SQL statements DSL implementation and based on _sqllin-driver_.
49
-
50
-
The _sqllin-processor_ uses KSP to process annotations and generate code for use with _sqllin-dsl_.
47
+
SQLlin has 3 major parts: _sqllin-dsl_, _sqllin-driver_ and _sqllin-processor_. The _sqllin-driver_ is a set of common multiplatform SQLite low-level
48
+
APIs, most of the time it is not recommended to use it directly. The _sqllin-dsl_ is DSL implementations for SQL statements, it based on
49
+
_sqllin-driver_. The _sqllin-processor_ uses KSP to process annotations and generate code for using with _sqllin-dsl_.
51
50
52
51
You can learn how to use _sqllin-dsl_ in these documentations:
53
52
@@ -58,13 +57,13 @@ You can learn how to use _sqllin-dsl_ in these documentations:
I don't recommend use_sqllin-driver_ directly, but if you want to learn more about it, you can read:
60
+
I don't recommend using_sqllin-driver_ directly, but if you want to learn more about it, you can read:
62
61
63
62
-[The sqllin-driver Basic Design and Usage](./sqllin-driver/README.md)
64
63
65
64
## R8/ProGuard
66
65
67
-
Due to _sqllin-dsl_'s deserialization based on [kotlinx.serialization](https://github.com/Kotlin/kotlinx.serialization), R8/ProGuard configuration please refer to
66
+
Due to _sqllin-dsl_'s deserialization based on [kotlinx.serialization](https://github.com/Kotlin/kotlinx.serialization), the R8/ProGuard configuration please refer to
0 commit comments