WithDefaultWeekFormatMode sets the value of the 'default_week_format' system variable.
(mode string)
| 158 | |
| 159 | // WithDefaultWeekFormatMode sets the value of the 'default_week_format' system variable. |
| 160 | func WithDefaultWeekFormatMode(mode string) EvalCtxOption { |
| 161 | return func(s *evalCtxState) { |
| 162 | s.defaultWeekFormatMode = mode |
| 163 | } |
| 164 | } |
| 165 | |
| 166 | // WithDivPrecisionIncrement sets the value of the 'div_precision_increment' system variable. |
| 167 | func WithDivPrecisionIncrement(inc int) EvalCtxOption { |
no outgoing calls