(_eb, args, { model }: ZModelFunctionContext<any>)
| 124 | .exhaustive(); |
| 125 | |
| 126 | export const currentModel: ZModelFunction<any> = (_eb, args, { model }: ZModelFunctionContext<any>) => { |
| 127 | let result = model; |
| 128 | const [casing] = args; |
| 129 | if (casing) { |
| 130 | result = processCasing(casing, result, model); |
| 131 | } |
| 132 | return sql.lit(result); |
| 133 | }; |
| 134 | |
| 135 | export const currentOperation: ZModelFunction<any> = (_eb, args, { operation }: ZModelFunctionContext<any>) => { |
| 136 | let result: string = operation; |
nothing calls this directly
no test coverage detected