File tree Expand file tree Collapse file tree 2 files changed +9
-1
lines changed Expand file tree Collapse file tree 2 files changed +9
-1
lines changed Original file line number Diff line number Diff line change 5
5
* Support ` WITH ` clause ([ #1139 ] [ ] )
6
6
* Add ` Value ` conformance for ` NSURL ` ([ #1110 ] [ ] , [ #1141 ] [ ] )
7
7
* Add decoding for ` UUID ` ([ #1137 ] [ ] )
8
- * SQLCipher: improve documentation ([ #1098 ] [ ] ), add ` sqlcipher_export `
8
+ * SQLCipher: improve documentation ([ #1098 ] [ ] ), add ` sqlcipher_export ` ( [ # 1101 ] [ ] )
9
9
* Fix ` insertMany([Encodable]) ` ([ #1130 ] [ ] , [ #1138 ] [ ] )
10
10
* Fix incorrect spelling of ` remove_diacritics ` ([ #1128 ] [ ] )
11
11
* Fix project build order ([ #1131 ] [ ] )
165
165
[ #1095 ] : https://github.com/stephencelis/SQLite.swift/pull/1095
166
166
[ #1098 ] : https://github.com/stephencelis/SQLite.swift/issues/1098
167
167
[ #1100 ] : https://github.com/stephencelis/SQLite.swift/pull/1100
168
+ [ #1101 ] : https://github.com/stephencelis/SQLite.swift/issues/1101
168
169
[ #1105 ] : https://github.com/stephencelis/SQLite.swift/pull/1105
169
170
[ #1109 ] : https://github.com/stephencelis/SQLite.swift/issues/1109
170
171
[ #1110 ] : https://github.com/stephencelis/SQLite.swift/pull/1110
Original file line number Diff line number Diff line change @@ -2110,6 +2110,13 @@ try db.detach("external")
2110
2110
// DETACH DATABASE 'external'
2111
2111
```
2112
2112
2113
+ When compiled for SQLCipher, you can additionally pass a `key` parameter to `attach`:
2114
+
2115
+ ```swift
2116
+ try db.attach (.uri (" encrypted.sqlite" ), as : " encrypted" , key : " secret" )
2117
+ // ATTACH DATABASE 'encrypted.sqlite' AS 'encrypted' KEY 'secret'
2118
+ ```
2119
+
2113
2120
## Logging
2114
2121
2115
2122
We can log SQL using the database’s `trace` function.
You can’t perform that action at this time.
0 commit comments