We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7ef8343 commit 22d30c8Copy full SHA for 22d30c8
README.md
@@ -42,9 +42,9 @@ do {
42
let db = try Connection("path/to/db.sqlite3")
43
44
let users = Table("users")
45
- let id = Expression<Int64>("id")
46
- let name = Expression<String?>("name")
47
- let email = Expression<String>("email")
+ let id = SQLite.Expression<Int64>("id")
+ let name = SQLite.Expression<String?>("name")
+ let email = SQLite.Expression<String>("email")
48
49
try db.run(users.create { t in
50
t.column(id, primaryKey: true)
@@ -83,6 +83,9 @@ do {
83
}
84
```
85
86
+Note that `Expression` should be written as `SQLite.Expression` to avoid
87
+conflicts with the `SwiftUI.Expression` if you are using SwiftUI too.
88
+
89
SQLite.swift also works as a lightweight, Swift-friendly wrapper over the C
90
API.
91
0 commit comments