Method: OpenC3::ActivityModel.count
- Defined in:
- lib/openc3/models/activity_model.rb
.count(name:, scope:) ⇒ Integer
Returns count of the members stored under the primary key.
85 86 87 |
# File 'lib/openc3/models/activity_model.rb', line 85 def self.count(name:, scope:) return Store.zcard("#{scope}#{PRIMARY_KEY}__#{name}") end |