Class: Bricolage::TDTask

Inherits:
DataSourceTask show all
Defined in:
lib/bricolage/tddatasource.rb

Defined Under Namespace

Classes: Delete, Export

Instance Attribute Summary

Attributes inherited from DataSourceTask

#ds

Instance Method Summary collapse

Methods inherited from DataSourceTask

#bind, #initialize, #run, #source

Constructor Details

This class inherits a constructor from Bricolage::DataSourceTask

Instance Method Details

#delete(table_name, **opts) ⇒ Object



89
90
91
# File 'lib/bricolage/tddatasource.rb', line 89

def delete(table_name, **opts)
  add TDTask::Delete.new(table_name, **opts)
end

#export(stmt, path: nil, **opts) ⇒ Object



38
39
40
# File 'lib/bricolage/tddatasource.rb', line 38

def export(stmt, path: nil, **opts)
  add TDTask::Export.new(stmt, path: path, **opts)
end