Checks if node is a NULL constant
| 99 | |
| 100 | /// Checks if node is a NULL constant |
| 101 | static bool isNullConstant(const QueryTreeNodePtr & node) |
| 102 | { |
| 103 | if (const auto * const_node = node->as<ConstantNode>()) |
| 104 | return const_node->getValue().isNull(); |
| 105 | return false; |
| 106 | } |
| 107 | |
| 108 | /// Creates a NOT function node wrapping the given node (caller must resolve it) |
| 109 | static QueryTreeNodePtr createNotWrapper(QueryTreeNodePtr node) |
no test coverage detected