Class: Temporalio::Client::WorkflowExecutionCount
- Inherits:
-
Object
- Object
- Temporalio::Client::WorkflowExecutionCount
- Defined in:
- lib/temporalio/client/workflow_execution_count.rb
Overview
Representation of a count from a count workflows call.
Defined Under Namespace
Classes: AggregationGroup
Instance Attribute Summary collapse
-
#count ⇒ Integer
readonly
clause, this is simply the sum of all the counts in #groups.
-
#groups ⇒ Array<AggregationGroup>
readonly
Groups if the query had a group-by clause, or empty if not.
Instance Attribute Details
#count ⇒ Integer (readonly)
clause, this is simply the sum of all the counts in #groups.
9 10 11 |
# File 'lib/temporalio/client/workflow_execution_count.rb', line 9 def count @count end |
#groups ⇒ Array<AggregationGroup> (readonly)
Returns Groups if the query had a group-by clause, or empty if not.
12 13 14 |
# File 'lib/temporalio/client/workflow_execution_count.rb', line 12 def groups @groups end |