Skip to content

Commit 2eed200

Browse files
committed
Fix doc errors
1 parent 9023fbc commit 2eed200

File tree

4 files changed

+14
-12
lines changed

4 files changed

+14
-12
lines changed

CHANGELOG.md

Lines changed: 9 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,16 @@
11
0.14.0 (tbd), [diff][diff-0.14.0]
22
========================================
33

4-
* Support ATTACH/DETACH ([#30][], [##1142][])
5-
* Support WITH clause ([#1139][])
6-
* Add value conformance for NSURL ([#1141][])
7-
* Add decoding for UUID ([#1137][])
8-
* Fix insertMany([Encodable]) ([#1130][], [#1138]][])
9-
* Fix incorrect spelling of 'remove_diacritics' ([#1128][])
4+
* Support `ATTACH`/`DETACH` ([#30][], [#1142][])
5+
* Support `WITH` clause ([#1139][])
6+
* Add `Value` conformance for `NSURL` ([#1110][], [#1141][])
7+
* Add decoding for `UUID` ([#1137][])
8+
* Fix `insertMany([Encodable])` ([#1130][], [#1138][])
9+
* Fix incorrect spelling of `remove_diacritics` ([#1128][])
1010
* Fix project build order ([#1131][])
1111
* Performance improvements ([#1109][], [#1115][], [#1132][])
1212

13-
0.13.3 (25-01-2022), [diff][diff-0.13.3]
13+
0.13.3 (27-03-2022), [diff][diff-0.13.3]
1414
========================================
1515

1616
* UUID Fix ([#1112][])
@@ -165,6 +165,7 @@
165165
[#1100]: https://github.com/stephencelis/SQLite.swift/pull/1100
166166
[#1105]: https://github.com/stephencelis/SQLite.swift/pull/1105
167167
[#1109]: https://github.com/stephencelis/SQLite.swift/issues/1109
168+
[#1110]: https://github.com/stephencelis/SQLite.swift/pull/1110
168169
[#1112]: https://github.com/stephencelis/SQLite.swift/pull/1112
169170
[#1115]: https://github.com/stephencelis/SQLite.swift/pull/1115
170171
[#1119]: https://github.com/stephencelis/SQLite.swift/pull/1119
@@ -176,4 +177,5 @@
176177
[#1137]: https://github.com/stephencelis/SQLite.swift/pull/1137
177178
[#1138]: https://github.com/stephencelis/SQLite.swift/pull/1138
178179
[#1139]: https://github.com/stephencelis/SQLite.swift/pull/1139
180+
[#1141]: https://github.com/stephencelis/SQLite.swift/pull/1141
179181
[#1142]: https://github.com/stephencelis/SQLite.swift/pull/1142

Documentation/Index.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -341,10 +341,10 @@ We can pass `.uri` to the `Connection` initializer to control more aspects of
341341
the database connection with the help of `URIQueryParameter`s:
342342

343343
```swift
344-
let db = try Connection(.uri("file.sqlite", parameters: [.cache(.private)], .noLock(true)]))
344+
let db = try Connection(.uri("file.sqlite", parameters: [.cache(.private), .noLock(true)]))
345345
```
346346

347-
See [Uniform Resource Identifiers](https://www.sqlite.org/uri.html) for more details.
347+
See [Uniform Resource Identifiers](https://www.sqlite.org/uri.html#recognized_query_parameters) for more details.
348348

349349
#### Thread-Safety
350350

@@ -2089,7 +2089,7 @@ databases to an existing connection:
20892089
```swift
20902090
let db = try Connection("db.sqlite")
20912091

2092-
try db.attach(.uri("external.sqlite", parameters: [.mode(.readOnly)), as: "external")
2092+
try db.attach(.uri("external.sqlite", parameters: [.mode(.readOnly)], as: "external")
20932093
// ATTACH DATABASE 'file:external.sqlite?mode=ro' AS 'external'
20942094

20952095
let table = Table("table", database: "external")

Documentation/Planning.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,6 @@ be referred to when it comes time to add the corresponding feature._
2121

2222
### Features
2323

24-
* encapsulate ATTACH DATABASE / DETACH DATABASE as methods, per
25-
[#30](https://github.com/stephencelis/SQLite.swift/issues/30)
2624
* provide separate threads for update vs read, so updates don't block reads,
2725
per [#236](https://github.com/stephencelis/SQLite.swift/issues/236)
2826
* expose triggers, per

SQLite.xcodeproj/project.pbxproj

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -278,6 +278,7 @@
278278
3DF7B790288449BA005DD8CA /* URIQueryParameter.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = URIQueryParameter.swift; sourceTree = "<group>"; };
279279
3DF7B79528846FCC005DD8CA /* Resources */ = {isa = PBXFileReference; lastKnownFileType = folder; path = Resources; sourceTree = "<group>"; };
280280
3DF7B79A2884C353005DD8CA /* CHANGELOG.md */ = {isa = PBXFileReference; lastKnownFileType = net.daringfireball.markdown; path = CHANGELOG.md; sourceTree = "<group>"; };
281+
3DF7B79B2884C901005DD8CA /* Planning.md */ = {isa = PBXFileReference; lastKnownFileType = net.daringfireball.markdown; path = Planning.md; sourceTree = "<group>"; };
281282
49EB68C31F7B3CB400D89D40 /* Coding.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = Coding.swift; sourceTree = "<group>"; };
282283
997DF2AD287FC06D00F8DF95 /* Query+with.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = "Query+with.swift"; sourceTree = "<group>"; };
283284
A121AC451CA35C79005A31D1 /* SQLite.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = SQLite.framework; sourceTree = BUILT_PRODUCTS_DIR; };
@@ -551,6 +552,7 @@
551552
isa = PBXGroup;
552553
children = (
553554
EE247B8F1C3F822500AE3E12 /* Index.md */,
555+
3DF7B79B2884C901005DD8CA /* Planning.md */,
554556
EE247B901C3F822500AE3E12 /* Resources */,
555557
19A17EA3A313F129011B3FA0 /* Release.md */,
556558
19A1794B7972D14330A65BBD /* Linux.md */,

0 commit comments

Comments
 (0)