MCPcopy Create free account
hub / github.com/TileDB-Inc/TileDB / upgrade_version

Method upgrade_version

tiledb/sm/cpp_api/array.h:1043–1051  ·  view source on GitHub ↗

* @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. */

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls 5

handle_errorMethod · 0.80
c_strMethod · 0.80
getMethod · 0.45
ptrMethod · 0.45

Tested by

no test coverage detected