Module: ActiveForce::Bulk

Included in:
SObject
Defined in:
lib/active_force/bulk.rb,
lib/active_force/bulk/job.rb,
lib/active_force/bulk/records.rb,
lib/active_force/bulk/job_result.rb

Defined Under Namespace

Classes: Job, JobResult, Records, TimeoutError

Constant Summary collapse

TIMEOUT_MESSAGE =
'Bulk job execution expired based on timeout of %{timeout} seconds'.freeze

Instance Method Summary collapse

Instance Method Details

#bulk_delete_all(attributes, options = {}) ⇒ Object



17
18
19
# File 'lib/active_force/bulk.rb', line 17

def bulk_delete_all(attributes, options={})
  run_bulk_job(:delete, attributes, options)
end

#bulk_insert_all(attributes, options = {}) ⇒ Object



9
10
11
# File 'lib/active_force/bulk.rb', line 9

def bulk_insert_all(attributes, options={})
  run_bulk_job(:insert, attributes, options)
end

#bulk_update_all(attributes, options = {}) ⇒ Object



13
14
15
# File 'lib/active_force/bulk.rb', line 13

def bulk_update_all(attributes, options={})
  run_bulk_job(:update, attributes, options)
end