WithUnsafeHints controls whether the unsafe query hint [HintSkipASTTransformations] is honored during parsing. This does not affect other unsafe hints, which are read after parsing by the caller.
(v bool)
| 33 | // is honored during parsing. This does not affect other unsafe hints, which are read |
| 34 | // after parsing by the caller. |
| 35 | func WithUnsafeHints(v bool) CompileOption { |
| 36 | return func(o *compileOptions) { |
| 37 | o.allowUnsafeHints = v |
| 38 | } |
| 39 | } |
| 40 | |
| 41 | // WithSpanOnlyFetch sets whether to use the span-only fetch path. When not set the default is used, and |
| 42 | // this may be overridden by the query hint. |
no outgoing calls