Class: RedshiftConnector::ArbitraryQuery
- Inherits:
-
Object
- Object
- RedshiftConnector::ArbitraryQuery
- Defined in:
- lib/redshift_connector/query.rb
Instance Method Summary collapse
- #description ⇒ Object
-
#initialize(query) ⇒ ArbitraryQuery
constructor
A new instance of ArbitraryQuery.
- #to_sql ⇒ Object
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
#description ⇒ Object
87 88 89 |
# File 'lib/redshift_connector/query.rb', line 87 def description @query end |
#to_sql ⇒ Object
91 92 93 |
# File 'lib/redshift_connector/query.rb', line 91 def to_sql @query end |