WithBlockEncryptionMode sets the block encryption mode for `ExprContext`.
(mode string)
| 75 | |
| 76 | // WithBlockEncryptionMode sets the block encryption mode for `ExprContext`. |
| 77 | func WithBlockEncryptionMode(mode string) ExprCtxOption { |
| 78 | return func(s *exprCtxState) { |
| 79 | s.blockEncryptionMode = mode |
| 80 | } |
| 81 | } |
| 82 | |
| 83 | // WithSysDateIsNow sets the sysdate is now for `ExprContext`. |
| 84 | func WithSysDateIsNow(now bool) ExprCtxOption { |
no outgoing calls