Skip to content

Commit a51a8de

Browse files
authored
docs: update parse server version reqs (#279)
1 parent 6ef226b commit a51a8de

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

Sources/ParseSwift/API/API.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,7 @@ public struct API {
130130
/// - note: This is typically used indirectly by `ParseFile`.
131131
case tags([String: String])
132132
/// Add context.
133-
/// - warning: Requires Parse Server > 4.5.0.
133+
/// - warning: Requires Parse Server 5.0.0+.
134134
case context(Encodable)
135135
/// The caching policy to use for a specific http request. Determines when to
136136
/// return a response from the cache. See Apple's

Sources/ParseSwift/Types/Query.swift

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -834,7 +834,7 @@ public struct Query<T>: Encodable, Equatable where T: ParseObject {
834834
Exclude specific keys for a `ParseObject`.
835835
If this is called multiple times, then all of the keys specified in each of the calls will be excluded.
836836
- parameter keys: A variadic list of keys include in the result.
837-
- warning: Requires Parse Server > 4.5.0.
837+
- warning: Requires Parse Server 5.0.0+.
838838
*/
839839
public func exclude(_ keys: String...) -> Query<T> {
840840
var mutableQuery = self
@@ -850,7 +850,7 @@ public struct Query<T>: Encodable, Equatable where T: ParseObject {
850850
Exclude specific keys for a `ParseObject`.
851851
If this is called multiple times, then all of the keys specified in each of the calls will be excluded.
852852
- parameter keys: An array of keys to exclude in the result.
853-
- warning: Requires Parse Server > 4.5.0.
853+
- warning: Requires Parse Server 5.0.0+.
854854
*/
855855
public func exclude(_ keys: [String]) -> Query<T> {
856856
var mutableQuery = self
@@ -866,7 +866,7 @@ public struct Query<T>: Encodable, Equatable where T: ParseObject {
866866
Make the query restrict the fields of the returned `ParseObject`s to include only the provided keys.
867867
If this is called multiple times, then all of the keys specified in each of the calls will be included.
868868
- parameter keys: A variadic list of keys include in the result.
869-
- warning: Requires Parse Server > 4.5.0.
869+
- warning: Requires Parse Server 5.0.0+.
870870
*/
871871
public func select(_ keys: String...) -> Query<T> {
872872
var mutableQuery = self
@@ -882,7 +882,7 @@ public struct Query<T>: Encodable, Equatable where T: ParseObject {
882882
Make the query restrict the fields of the returned `ParseObject`s to include only the provided keys.
883883
If this is called multiple times, then all of the keys specified in each of the calls will be included.
884884
- parameter keys: An array of keys to include in the result.
885-
- warning: Requires Parse Server > 4.5.0.
885+
- warning: Requires Parse Server 5.0.0+.
886886
*/
887887
public func select(_ keys: [String]) -> Query<T> {
888888
var mutableQuery = self

0 commit comments

Comments
 (0)