| 40 | |
| 41 | namespace { |
| 42 | std::optional<const WindowFunctionEntry*> getWindowFunctionEntry( |
| 43 | const std::string& name) { |
| 44 | auto& functionsMap = windowFunctions(); |
| 45 | auto it = functionsMap.find(name); |
| 46 | if (it != functionsMap.end()) { |
| 47 | return &it->second; |
| 48 | } |
| 49 | |
| 50 | return std::nullopt; |
| 51 | } |
| 52 | } // namespace |
| 53 | |
| 54 | bool registerWindowFunction( |
no test coverage detected