Class: Virsandra::TableQuery

Inherits:
Query
  • Object
show all
Defined in:
lib/virsandra/queries/table_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(keyword, table_name) ⇒ TableQuery

Returns a new instance of TableQuery.


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

def initialize(keyword, table_name)
  @table_name, @keyword = table_name, keyword
end