| 1624 | } |
| 1625 | |
| 1626 | bool Array::use_refactored_array_open() const { |
| 1627 | auto found = false; |
| 1628 | auto refactored_array_open = false; |
| 1629 | auto status = config_.get<bool>( |
| 1630 | "rest.use_refactored_array_open", &refactored_array_open, &found); |
| 1631 | if (!status.ok() || !found) { |
| 1632 | throw std::runtime_error( |
| 1633 | "Cannot get rest.use_refactored_array_open configuration option from " |
| 1634 | "config"); |
| 1635 | } |
| 1636 | |
| 1637 | return refactored_array_open || use_refactored_query_submit(); |
| 1638 | } |
| 1639 | |
| 1640 | bool Array::use_refactored_query_submit() const { |
| 1641 | auto found = false; |
no test coverage detected