Skip to contents

Returns a tibble with metadata about tables in the specified base on a NocoDB server from its GET /api/v2/meta/bases/{id_base}/tables API endpoint.

Usage

tbls(
  id_base = base_id(hostname = hostname, email = email, password = password, api_token =
    api_token),
  include_m2m = TRUE,
  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_base

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

include_m2m

Whether or not to include many-to-many junction tables in the result.

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.

Value

A tibble.

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(), update_tbl()