Returns `true` if the array allows coordinate duplicates. */
| 193 | |
| 194 | /** Returns `true` if the array allows coordinate duplicates. */ |
| 195 | bool allows_dups() const { |
| 196 | auto& ctx = ctx_.get(); |
| 197 | int allows_dups; |
| 198 | ctx.handle_error(tiledb_array_schema_get_allows_dups( |
| 199 | ctx.ptr().get(), schema_.get(), &allows_dups)); |
| 200 | return (bool)allows_dups; |
| 201 | } |
| 202 | |
| 203 | /** |
| 204 | * Sets whether the array allows coordinate duplicates. It throws |
nothing calls this directly
no test coverage detected