Class: PactBroker::Matrix::EveryRow

Inherits:
QuickRow
  • Object
show all
Defined in:
lib/pact_broker/matrix/every_row.rb

Constant Summary collapse

P_V_JOIN =
{ Sequel[:p][:pact_version_id] => Sequel[:v][:pact_version_id] }
PACT_COLUMNS =
[
  Sequel[:p][:consumer_id],
  Sequel[:p][:provider_id],
  Sequel[:p][:consumer_version_id],
  Sequel[:p][:id].as(:pact_publication_id),
  Sequel[:p][:pact_version_id],
  Sequel[:p][:revision_number].as(:pact_revision_number),
  Sequel[:p][:created_at].as(:consumer_version_created_at),
  Sequel[:p][:id].as(:pact_order)
]
VERIFICATION_COLUMNS =
[
  Sequel[:v][:id].as(:verification_id),
  Sequel[:v][:provider_version_id],
  Sequel[:v][:created_at].as(:provider_version_created_at)
]
ALL_COLUMNS =
PACT_COLUMNS + VERIFICATION_COLUMNS
SELECT_ALL_COLUMN_ARGS =
[:select_all_columns] + ALL_COLUMNS

Constants inherited from QuickRow

QuickRow::CONSUMER_VERSION_JOIN, QuickRow::LAST_ACTION_DATE, QuickRow::LP, QuickRow::LP_LV_JOIN, QuickRow::LV, QuickRow::PROVIDER_VERSION_JOIN, QuickRow::SELECT_PACTICIPANT_IDS_ARGS

Method Summary

Methods inherited from QuickRow

#<=>, #compare_name_asc, #compare_number_desc, #consumer_name, #consumer_version_number, #consumer_version_order, #eql?, #has_verification?, #involves_pacticipant_with_name?, #last_action_date, #pact_created_at, #pact_revision_number, #pact_version_sha, #pacticipant_names, #provider_name, #provider_version_id, #provider_version_number, #provider_version_order, #return_or_raise_if_not_set, #success, #to_s, #verification_executed_at, #verification_id, #verification_number