Skip to content

Commit 426e7d6

Browse files
committed
Fix usages of old Swift 2 enum case names
1 parent 5e771a1 commit 426e7d6

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

Sources/SQLite/Core/Connection.swift

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -38,12 +38,12 @@ public final class Connection {
3838
/// The location of a SQLite database.
3939
public enum Location {
4040

41-
/// An in-memory database (equivalent to `.URI(":memory:")`).
41+
/// An in-memory database (equivalent to `.uri(":memory:")`).
4242
///
4343
/// See: <https://www.sqlite.org/inmemorydb.html#sharedmemdb>
4444
case inMemory
4545

46-
/// A temporary, file-backed database (equivalent to `.URI("")`).
46+
/// A temporary, file-backed database (equivalent to `.uri("")`).
4747
///
4848
/// See: <https://www.sqlite.org/inmemorydb.html#temp_db>
4949
case temporary
@@ -93,7 +93,7 @@ public final class Connection {
9393
/// - location: The location of the database. Creates a new database if it
9494
/// doesn’t already exist (unless in read-only mode).
9595
///
96-
/// Default: `.InMemory`.
96+
/// Default: `.inMemory`.
9797
///
9898
/// - readonly: Whether or not to open the database in a read-only state.
9999
///
@@ -321,7 +321,7 @@ public final class Connection {
321321
///
322322
/// - mode: The mode in which a transaction acquires a lock.
323323
///
324-
/// Default: `.Deferred`
324+
/// Default: `.deferred`
325325
///
326326
/// - block: A closure to run SQL statements within the transaction.
327327
/// The transaction will be committed when the block returns. The block

0 commit comments

Comments
 (0)