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,
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")
)
Arguments
- id_tbl
NocoDB table identifier as returned by
tbl_id()
. A character scalar.- name
NocoDB column name. A character scalar, or
NULL
for any name.- title
NocoDB column title. A character scalar, or
NULL
for any title.- hostname
NocoDB server hostname. A character scalar.
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
andpassword
if provided.
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()