Skip to contents

Returns the identifier of the column with the specified name or title in the table with the specified id_tbl on a NocoDB server.

Usage

tbl_col_id(
  id_tbl,
  name = NULL,
  title = NULL,
  origin = pal::pkg_config_val("origin"),
  email = pal::pkg_config_val("email"),
  password = pal::pkg_config_val("password"),
  api_token = pal::pkg_config_val("api_token")
)

Arguments

id_tbl

character(1)
NocoDB table identifier as returned by tbl_id().

name

character(1)
NocoDB column name. NULL means any name.

title

character(1)
NocoDB column title. NULL means any title.

origin

character(1)
NocoDB server origin.

email

character(1)
E-mail address of the NocoDB user to authenticate with.

password

character(1)
Password of the NocoDB user to authenticate with.

api_token

character(1)
NocoDB API token. Takes precedence over email and password if provided.

Value

A character scalar.

See also

Other functions to manage NocoDB table columns: create_tbl_col(), delete_tbl_col(), set_display_val(), set_display_vals(), tbl_col(), tbl_cols(), update_tbl_col()