Skip to content

Commit c572d31

Browse files
committed
Use select in playgrounds instead of fields.
1 parent 3986853 commit c572d31

File tree

1 file changed

+1
-1
lines changed
  • ParseSwift.playground/Pages/11 - LiveQuery.xcplaygroundpage

1 file changed

+1
-1
lines changed

ParseSwift.playground/Pages/11 - LiveQuery.xcplaygroundpage/Contents.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -148,7 +148,7 @@ ParseLiveQuery.client?.sendPing { error in
148148
var query2 = GameScore.query("points" > 50)
149149

150150
//: Select the fields you are interested in receiving.
151-
query2.fields("points")
151+
query2.select("points")
152152

153153
//: Subscribe to your new query.
154154
let subscription2 = query2.subscribeCallback!

0 commit comments

Comments
 (0)