WithSkipOptimization adds name to the list of AST transformations to skip during parsing. Use [TransformationAll] to skip all transformations.
(name string)
| 24 | // WithSkipOptimization adds name to the list of AST transformations to skip during parsing. |
| 25 | // Use [TransformationAll] to skip all transformations. |
| 26 | func WithSkipOptimization(name string) CompileOption { |
| 27 | return func(o *compileOptions) { |
| 28 | o.skipTransformations = append(o.skipTransformations, name) |
| 29 | } |
| 30 | } |
| 31 | |
| 32 | // WithUnsafeHints controls whether the unsafe query hint [HintSkipASTTransformations] |
| 33 | // is honored during parsing. This does not affect other unsafe hints, which are read |
no outgoing calls
no test coverage detected