lib/dm-aggregates/model.rb in dm-aggregates-0.9.7 vs lib/dm-aggregates/model.rb in dm-aggregates-0.9.8

- old
+ new

@@ -1,8 +1,12 @@ module DataMapper module Model include AggregateFunctions + def size + count + end + private def property_by_name(property_name) properties(repository.name)[property_name] end