* It deletes a metadata key-value item from an open array. The array must * be opened in WRITE mode, otherwise the function will error out. * * @param key The key of the metadata item to be deleted. * * @note The writes will take effect only upon closing the array. * * @note If the key does not exist, this will take no effect * (i.e., the function will not error out).
| 1087 | * (i.e., the function will not error out). |
| 1088 | */ |
| 1089 | void delete_metadata(const std::string& key) { |
| 1090 | auto& ctx = ctx_.get(); |
| 1091 | tiledb_ctx_t* c_ctx = ctx.ptr().get(); |
| 1092 | ctx.handle_error( |
| 1093 | tiledb_array_delete_metadata(c_ctx, array_.get(), key.c_str())); |
| 1094 | } |
| 1095 | |
| 1096 | /** |
| 1097 | * It gets a metadata key-value item from an open array. The array must |
nothing calls this directly
no test coverage detected