From b6be0463251d5a5135bd782d8df2884b75f39d37 Mon Sep 17 00:00:00 2001 From: Corey Baker Date: Tue, 9 Nov 2021 08:49:23 -0500 Subject: [PATCH] docs: update parse server version reqs --- Sources/ParseSwift/API/API.swift | 2 +- Sources/ParseSwift/Types/Query.swift | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/Sources/ParseSwift/API/API.swift b/Sources/ParseSwift/API/API.swift index 8e6bad3b4..384ae4177 100644 --- a/Sources/ParseSwift/API/API.swift +++ b/Sources/ParseSwift/API/API.swift @@ -130,7 +130,7 @@ public struct API { /// - note: This is typically used indirectly by `ParseFile`. case tags([String: String]) /// Add context. - /// - warning: Requires Parse Server > 4.5.0. + /// - warning: Requires Parse Server 5.0.0+. case context(Encodable) /// The caching policy to use for a specific http request. Determines when to /// return a response from the cache. See Apple's diff --git a/Sources/ParseSwift/Types/Query.swift b/Sources/ParseSwift/Types/Query.swift index 6877fba4f..6b971b141 100644 --- a/Sources/ParseSwift/Types/Query.swift +++ b/Sources/ParseSwift/Types/Query.swift @@ -834,7 +834,7 @@ public struct Query: Encodable, Equatable where T: ParseObject { Exclude specific keys for a `ParseObject`. If this is called multiple times, then all of the keys specified in each of the calls will be excluded. - parameter keys: A variadic list of keys include in the result. - - warning: Requires Parse Server > 4.5.0. + - warning: Requires Parse Server 5.0.0+. */ public func exclude(_ keys: String...) -> Query { var mutableQuery = self @@ -850,7 +850,7 @@ public struct Query: Encodable, Equatable where T: ParseObject { Exclude specific keys for a `ParseObject`. If this is called multiple times, then all of the keys specified in each of the calls will be excluded. - parameter keys: An array of keys to exclude in the result. - - warning: Requires Parse Server > 4.5.0. + - warning: Requires Parse Server 5.0.0+. */ public func exclude(_ keys: [String]) -> Query { var mutableQuery = self @@ -866,7 +866,7 @@ public struct Query: Encodable, Equatable where T: ParseObject { Make the query restrict the fields of the returned `ParseObject`s to include only the provided keys. If this is called multiple times, then all of the keys specified in each of the calls will be included. - parameter keys: A variadic list of keys include in the result. - - warning: Requires Parse Server > 4.5.0. + - warning: Requires Parse Server 5.0.0+. */ public func select(_ keys: String...) -> Query { var mutableQuery = self @@ -882,7 +882,7 @@ public struct Query: Encodable, Equatable where T: ParseObject { Make the query restrict the fields of the returned `ParseObject`s to include only the provided keys. If this is called multiple times, then all of the keys specified in each of the calls will be included. - parameter keys: An array of keys to include in the result. - - warning: Requires Parse Server > 4.5.0. + - warning: Requires Parse Server 5.0.0+. */ public func select(_ keys: [String]) -> Query { var mutableQuery = self