Class: Virsandra::OrderQuery

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

Constant Summary collapse

VALID_ORDERS =
["ASC", "DESC"]

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(columns) ⇒ OrderQuery

Returns a new instance of OrderQuery.


5
6
7
# File 'lib/virsandra/queries/order_query.rb', line 5

def initialize(columns)
  @columns = columns
end