Method: OrientSupport::Array#append

Defined in:
lib/support/orient.rb

#append(*arg) ⇒ Object Also known as: <<

Append the argument to the Array, changes the Array itself.

The change is immediately transmitted to the database.



75
76
77
78
# File 'lib/support/orient.rb', line 75

def   append *arg

  @orient.update { "#{@name.to_s} = #{@name} || #{arg.to_or} "}[@name]
end