@@ -31,12 +31,10 @@ public extension Query {
31
31
/**
32
32
Finds objects *asynchronously* and publishes when complete.
33
33
- parameter explain: Used to toggle the information on the query plan.
34
- - parameter hint: String or Object of index that should be used when executing query.
35
34
- parameter options: A set of header options sent to the server. Defaults to an empty set.
36
35
- returns: A publisher that eventually produces a single value and then finishes or fails.
37
36
*/
38
37
func findPublisher< U: Decodable > ( explain: Bool ,
39
- hint: String ? = nil ,
40
38
options: API . Options = [ ] ) -> Future < [ U ] , ParseError > {
41
39
Future { promise in
42
40
self . find ( explain: explain,
@@ -78,12 +76,10 @@ public extension Query {
78
76
/**
79
77
Gets an object *asynchronously* and publishes when complete.
80
78
- parameter explain: Used to toggle the information on the query plan.
81
- - parameter hint: String or Object of index that should be used when executing query.
82
79
- parameter options: A set of header options sent to the server. Defaults to an empty set.
83
80
- returns: A publisher that eventually produces a single value and then finishes or fails.
84
81
*/
85
82
func firstPublisher< U: Decodable > ( explain: Bool ,
86
- hint: String ? = nil ,
87
83
options: API . Options = [ ] ) -> Future < U , ParseError > {
88
84
Future { promise in
89
85
self . first ( explain: explain,
@@ -107,12 +103,10 @@ public extension Query {
107
103
/**
108
104
Count objects *asynchronously* and publishes when complete.
109
105
- parameter explain: Used to toggle the information on the query plan.
110
- - parameter hint: String or Object of index that should be used when executing query.
111
106
- parameter options: A set of header options sent to the server. Defaults to an empty set.
112
107
- returns: A publisher that eventually produces a single value and then finishes or fails.
113
108
*/
114
109
func countPublisher< U: Decodable > ( explain: Bool ,
115
- hint: String ? = nil ,
116
110
options: API . Options = [ ] ) -> Future < U , ParseError > {
117
111
Future { promise in
118
112
self . count ( explain: explain,
0 commit comments