Sha256: e4b4a3b48d7b9ce1c7bf8890c4232c5e1658106ee5f13a1b04025407b2359871
Contents?: true
Size: 387 Bytes
Versions: 25
Compression:
Stored size: 387 Bytes
Contents
module Vertica module Messages class ReadyForQuery < BackendMessage STATUSES = { 'I' => :no_transaction, 'T' => :in_transaction, 'E' => :failed_transaction } message_id 'Z' attr_reader :transaction_status def initialize(data) @transaction_status = STATUSES[data.unpack('a').first] end end end end
Version data entries
25 entries across 25 versions & 1 rubygems