Method: Spider::Model::QuerySet#total_rows

Defined in:
lib/spiderfw/model/query_set.rb,
lib/spiderfw/model/query_set.rb

#total_rowsFixnum

Total number of objects that would be returned had the Query no limit.

Returns:

  • (Fixnum)

    The total number of rows corresponding to the Query (without limit).



39
40
41
# File 'lib/spiderfw/model/query_set.rb', line 39

def total_rows
  @total_rows
end