Class: DataMiner::Step::Sql
- Inherits:
-
DataMiner::Step
- Object
- DataMiner::Step
- DataMiner::Step::Sql
- Defined in:
- lib/data_miner/step/sql.rb
Overview
A step that executes a SQL, either from a string or as retrieved from a URL.
Create these by calling sql inside a data_miner block.
Constant Summary
- URL_DETECTOR =
%r{^[^\s]*/[^\*]}
Instance Attribute Summary (collapse)
-
- (String) description
readonly
Description of what this step does.
-
- (String) statement
readonly
String containing the SQL.
-
- (String) url
readonly
Location of the SQL file.
Instance Attribute Details
- (String) description (readonly)
Description of what this step does.
19 20 21 |
# File 'lib/data_miner/step/sql.rb', line 19 def description @description end |
- (String) statement (readonly)
String containing the SQL.
27 28 29 |
# File 'lib/data_miner/step/sql.rb', line 27 def statement @statement end |
- (String) url (readonly)
Location of the SQL file.
23 24 25 |
# File 'lib/data_miner/step/sql.rb', line 23 def url @url end |