()
| 47 | variant, |
| 48 | warning, |
| 49 | toString() { |
| 50 | if (warning) { |
| 51 | console.warn(warning) |
| 52 | } |
| 53 | let [text, options] = queryArgs |
| 54 | |
| 55 | text = typeof text === 'string' ? `'${text}'` : text |
| 56 | |
| 57 | options = options |
| 58 | ? `, { ${Object.entries(options) |
| 59 | .map(([k, v]) => `${k}: ${v}`) |
| 60 | .join(', ')} }` |
| 61 | : '' |
| 62 | |
| 63 | return `${queryMethod}(${text}${options})` |
| 64 | }, |
| 65 | } |
| 66 | } |
| 67 |
nothing calls this directly
no outgoing calls
no test coverage detected