Class: Pgoutput::Messages::Update

Inherits:
Data
  • Object
show all
Defined in:
lib/pgoutput/messages.rb

Overview

Update DML message.

The message may contain either an old key tuple, an old full tuple, or neither; it always contains a new tuple.

Instance Attribute Summary collapse

Instance Attribute Details

#new_tupleObject (readonly)

Returns the value of attribute new_tuple

Returns:

  • (Object)

    the current value of new_tuple



80
# File 'lib/pgoutput/messages.rb', line 80

Update = Data.define(:relation_id, :old_key_tuple, :old_tuple, :new_tuple)

#old_key_tupleObject (readonly)

Returns the value of attribute old_key_tuple

Returns:

  • (Object)

    the current value of old_key_tuple



80
# File 'lib/pgoutput/messages.rb', line 80

Update = Data.define(:relation_id, :old_key_tuple, :old_tuple, :new_tuple)

#old_tupleObject (readonly)

Returns the value of attribute old_tuple

Returns:

  • (Object)

    the current value of old_tuple



80
# File 'lib/pgoutput/messages.rb', line 80

Update = Data.define(:relation_id, :old_key_tuple, :old_tuple, :new_tuple)

#relation_idObject (readonly)

Returns the value of attribute relation_id

Returns:

  • (Object)

    the current value of relation_id



80
# File 'lib/pgoutput/messages.rb', line 80

Update = Data.define(:relation_id, :old_key_tuple, :old_tuple, :new_tuple)