()
| 254 | } |
| 255 | |
| 256 | toString() { |
| 257 | // Return the full query string for this query, including implicit context. |
| 258 | if (!this.path) { |
| 259 | return undefined; |
| 260 | } |
| 261 | const query = queryString.stringify(this.toParams()); |
| 262 | return `${this.path}?${query}`; |
| 263 | } |
| 264 | |
| 265 | toKey() { |
| 266 | // Strip the parts of the query that are irrelevant to the result cache. |
no test coverage detected