aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/node/executionnode.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'node/executionnode.cpp')
-rw-r--r--node/executionnode.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/node/executionnode.cpp b/node/executionnode.cpp
index fadc9fb..588f4f5 100644
--- a/node/executionnode.cpp
+++ b/node/executionnode.cpp
@@ -89,3 +89,9 @@ void ExecutionNode::generateDotTree(QString& s)
}
}
+qint64 ExecutionNode::getScalarResult()
+{
+ if(m_result == nullptr)
+ return 0;
+ return m_result->getResult(Result::SCALAR).toInt();
+}