Class: RedshiftConnector::ArbitraryQuery

Inherits:
Object
  • Object
show all
Defined in:
lib/redshift_connector/query.rb

Instance Method Summary collapse

Constructor Details

#initialize(query) ⇒ ArbitraryQuery

Returns a new instance of ArbitraryQuery.



83
84
85
# File 'lib/redshift_connector/query.rb', line 83

def initialize(query)
  @query = query
end

Instance Method Details

#descriptionObject



87
88
89
# File 'lib/redshift_connector/query.rb', line 87

def description
  @query
end

#to_sqlObject



91
92
93
# File 'lib/redshift_connector/query.rb', line 91

def to_sql
  @query
end