* @brief Upgrades an array to the latest format version. * * * **Example:** * @code{.cpp} * tiledb::Array::upgrade_version(ctx, "array_name"); * @endcode * * @param ctx TileDB context * @param array_uri The URI of the TileDB array to be upgraded. * @param config Configuration parameters for the upgrade. */
| 1041 | * @param config Configuration parameters for the upgrade. |
| 1042 | */ |
| 1043 | static void upgrade_version( |
| 1044 | const Context& ctx, |
| 1045 | const std::string& array_uri, |
| 1046 | Config* const config = nullptr) { |
| 1047 | ctx.handle_error(tiledb_array_upgrade_version( |
| 1048 | ctx.ptr().get(), |
| 1049 | array_uri.c_str(), |
| 1050 | config ? config->ptr().get() : nullptr)); |
| 1051 | } |
| 1052 | |
| 1053 | /** |
| 1054 | * It puts a metadata key-value item to an open array. The array must |
nothing calls this directly
no test coverage detected