motion/cdq/targeted_query.rb in cdq-0.1.10 vs motion/cdq/targeted_query.rb in cdq-0.1.11
- old
+ new
@@ -34,9 +34,11 @@
raise("No context has been set. Probably need to run cdq.setup") unless context
with_error_object(0) do |error|
context.countForFetchRequest(fetch_request, error:error)
end
end
+ alias :length :count
+ alias :size :count
# Return all matching entities.
#
# Causes execution.
#