| 6 | NodeExpression::~NodeExpression() = default; |
| 7 | |
| 8 | std::shared_ptr<Expression> NodeExpression::getPrimaryKey(common::table_id_t tableID) const { |
| 9 | for (auto& property : propertyExprs) { |
| 10 | if (property->isPrimaryKey(tableID)) { |
| 11 | return property; |
| 12 | } |
| 13 | } |
| 14 | UNREACHABLE_CODE; |
| 15 | } |
| 16 | |
| 17 | } // namespace binder |
| 18 | } // namespace lbug |
no test coverage detected