Method: OpenC3::SortedModel.count
- Defined in:
- lib/openc3/models/sorted_model.rb
.count(scope:) ⇒ Integer
Returns count of the members stored under the primary key.
83 84 85 |
# File 'lib/openc3/models/sorted_model.rb', line 83 def self.count(scope:) return Store.zcard(self.pk(scope)) end |