Sha256: e6f3fedb656d216f62d62b5139fb957f3a2f285dff1b44477e1647d2368c15f1

Contents?: true

Size: 191 Bytes

Versions: 14

Compression:

Stored size: 191 Bytes

Contents

module QcHelpers
  def execute(sql, *args)
    QC.default_conn_adapter.execute(sql, *args)
  end

  def find_job(id)
    execute("SELECT * FROM #{QC.table_name} WHERE id = $1", id)
  end
end

Version data entries

14 entries across 14 versions & 1 rubygems

Version Path
queue_classic_plus-4.0.0.alpha21 spec/helpers.rb
queue_classic_plus-4.0.0.alpha20 spec/helpers.rb
queue_classic_plus-4.0.0.alpha19 spec/helpers.rb
queue_classic_plus-4.0.0.alpha18 spec/helpers.rb
queue_classic_plus-4.0.0.alpha17 spec/helpers.rb
queue_classic_plus-4.0.0.alpha16 spec/helpers.rb
queue_classic_plus-4.0.0.alpha15 spec/helpers.rb
queue_classic_plus-4.0.0.alpha14 spec/helpers.rb
queue_classic_plus-4.0.0.alpha13 spec/helpers.rb
queue_classic_plus-4.0.0.alpha12 spec/helpers.rb
queue_classic_plus-4.0.0.alpha11 spec/helpers.rb
queue_classic_plus-4.0.0.alpha10 spec/helpers.rb
queue_classic_plus-4.0.0.alpha9 spec/helpers.rb
queue_classic_plus-4.0.0.alpha8 spec/helpers.rb