Method: ActiveOrient::API#create_record
- Defined in:
-
lib/jdbc.rb,
lib/java-api.rb
189 190 191 192 193 194 195 |
# File 'lib/jdbc.rb', line 189 def create_record o_class, attributes: {} logger.progname = 'HavaApi#CreateRecord' attributes = yield if attributes.empty? && block_given? new_record = insert_document( o_class, attributes.to_orient ) end |