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.
75 76 77 |
# File 'lib/openc3/models/sorted_model.rb', line 75 def self.count(scope:) Store.zcard(self.pk(scope)) end |