Module: SQB::Limiting
Instance Method Summary collapse
-
#limit(number) ⇒ Query
Limit the number of records return.
Instance Method Details
#limit(number) ⇒ Query
Limit the number of records return
8 9 10 11 |
# File 'lib/sqb/limiting.rb', line 8 def limit(number) @limit = number&.to_i self end |