Class: Tarantool::Crud::ManyResult
- 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
-
#errors ⇒ Object
readonly
Returns the value of attribute errors.
Attributes inherited from Result
Instance Method Summary collapse
Methods inherited from Result
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
20 |
# File 'tarantool-crud/lib/tarantool/crud/many_result.rb', line 20 def success? = errors.empty? |