Skip to content

Commit c6e92e8

Browse files
committed
wip
1 parent a54099f commit c6e92e8

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

Sources/StructuredQueriesCore/Internal/Deprecations.swift

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import Foundation
44

55
extension Table {
66
@available(
7-
*, deprecated, message: "Use a trailing closure to specify the row to insert, instead."
7+
*, deprecated, message: "Use a trailing closure, instead: 'Table.insert { row }'"
88
)
99
public static func insert(
1010
or conflictResolution: ConflictResolution? = nil,
@@ -15,7 +15,7 @@ extension Table {
1515
}
1616

1717
@available(
18-
*, deprecated, message: "Use a trailing closure to specify the rows to insert, instead."
18+
*, deprecated, message: "Use a trailing closure, instead: 'Table.insert { rows }'"
1919
)
2020
public static func insert(
2121
or conflictResolution: ConflictResolution? = nil,
@@ -66,7 +66,7 @@ extension Table {
6666

6767
extension PrimaryKeyedTable {
6868
@available(
69-
*, deprecated, message: "Use a trailing closure to specify the draft to insert, instead."
69+
*, deprecated, message: "Use a trailing closure, instead: 'Table.insert { draft }'"
7070
)
7171
public static func insert(
7272
or conflictResolution: ConflictResolution? = nil,
@@ -81,7 +81,7 @@ extension PrimaryKeyedTable {
8181
}
8282

8383
@available(
84-
*, deprecated, message: "Use a trailing closure to specify the drafts to insert, instead."
84+
*, deprecated, message: "Use a trailing closure, instead: 'Table.insert { drafts }'"
8585
)
8686
public static func insert(
8787
or conflictResolution: ConflictResolution? = nil,
@@ -96,7 +96,7 @@ extension PrimaryKeyedTable {
9696
}
9797

9898
@available(
99-
*, deprecated, message: "Use a trailing closure to specify the draft to upsert, instead."
99+
*, deprecated, message: "Use a trailing closure, instead: 'Table.upsert { draft }'"
100100
)
101101
public static func upsert(
102102
_ row: Draft

0 commit comments

Comments
 (0)