Method: ActiveOrient::Model.new_document

Defined in:
lib/model.rb

.new_document(attributes: {}) ⇒ Object

historic method



149
150
151
# File 'lib/model.rb', line 149

def self.new_document attributes: {}  # :nodoc:
   orientdb.create_or_update_document  self, set: attributes
end