Skip to contents

Updates the metadata of the specified table on a NocoDB server via its PATCH /api/v2/meta/tables/{id_tbl} API endpoint.

Usage

update_tbl(
  id_tbl,
  id_base = NULL,
  name = NULL,
  title = NULL,
  meta = NULL,
  hostname = pal::pkg_config_val("hostname"),
  email = pal::pkg_config_val("email"),
  password = pal::pkg_config_val("password"),
  api_token = pal::pkg_config_val("api_token"),
  quiet = FALSE
)

Arguments

id_tbl

NocoDB table identifier as returned by tbl_id(). A character scalar.

id_base

NocoDB base identifier as returned by base_id(). A character scalar.

name

Table name. A character scalar.

title

NocoDB-specific table title. A character scalar.

meta

NocoDB-specific table metadata. A list.

hostname

NocoDB server hostname. A character scalar.

email

E-mail address of the NocoDB user to authenticate with.

password

Password of the NocoDB user to authenticate with.

api_token

NocoDB API token. Takes precedence over email and password if provided.

quiet

Whether or not to suppress printing status output from internal processing.

Value

id_tbl, invisibly.

See also

Other functions to manage NocoDB tables: create_data_src_tbl(), create_tbl(), data_src_tbls(), delete_tbl(), reorder_tbl(), set_tbl_metadata(), tbl, tbl_id(), tbls()