Skip to content

Commit 86165c7

Browse files
authored
swiftdata's sort is order in sharing-grdb (#99)
1 parent bfbe144 commit 86165c7

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -169,7 +169,7 @@ This `defaultDatabase` connection is used implicitly by SharingGRDB's strategies
169169
@FetchAll
170170
var items: [Item]
171171

172-
@FetchAll(Item.sort(by: \.title))
172+
@FetchAll(Item.order(by: \.title))
173173
var items
174174

175175
@FetchAll(Item.where(\.isInStock))

Sources/SharingGRDBCore/Documentation.docc/SharingGRDBCore.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@ This `defaultDatabase` connection is used implicitly by SharingGRDB's strategies
114114
@FetchAll
115115
var items: [Item]
116116

117-
@FetchAll(Item.sort(by: \.title))
117+
@FetchAll(Item.order(by: \.title))
118118
var items
119119

120120
@FetchAll(Item.where(\.isInStock))

0 commit comments

Comments
 (0)