Class: Tarantool::Crud::ManyResult

Inherits:
Result
  • Object
show all
Defined in:
tarantool-crud/lib/tarantool/crud/many_result.rb

Overview

Result of a *_many call: the rows written plus the errors of the rows that failed.

Instance Attribute Summary collapse

Attributes inherited from Result

#metadata, #tuples

Instance Method Summary collapse

Methods inherited from Result

#each, #empty?, #last, #size

Instance Attribute Details

#errors ⇒ Object (readonly)

Returns the value of attribute errors.



7
8
9
# File 'tarantool-crud/lib/tarantool/crud/many_result.rb', line 7

def errors
  @errors
end

Instance Method Details

#success? ⇒ Boolean

Returns:

  • (Boolean)


20
# File 'tarantool-crud/lib/tarantool/crud/many_result.rb', line 20

def success? = errors.empty?