Class: Virsandra::LimitQuery

Inherits:
Query
  • Object
show all
Defined in:
lib/virsandra/queries/limit_query.rb

Instance Attribute Summary

Attributes inherited from Query

#row, #statement

Instance Method Summary collapse

Methods inherited from Query

#add, alter, delete, #execute, #fetch, #from, insert, #limit, #order, select, #to_s, #values, #where

Constructor Details

#initialize(number) ⇒ LimitQuery

Returns a new instance of LimitQuery.


3
4
5
# File 'lib/virsandra/queries/limit_query.rb', line 3

def initialize(number)
  @number = number
end