class DeleteRowJob
Public Instance Methods
perform(db_uuid, table_name, id)
click to toggle source
# File natural-backend/app/jobs/delete_row_job.rb, line 4 def perform(db_uuid, table_name, id) db_manager = ::Natural::DatabaseManager.new db = db_manager.database(db_uuid) table = db.table(table_name) if id.present? table.delete_row(id) end end