Returns a tibble listing detected differences between the specified data source's external and its NocoDB-internal state via the
GET /api/v2/meta/bases/{id_base}/meta-diff/{id_data_src}
API endpoint.
Usage
data_src_diff(
id_data_src,
id_base = base_id(hostname = hostname, email = email, password = password, api_token =
api_token),
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_data_src
NocoDB data source identifier as returned by
data_src_id()
. A character scalar.- id_base
NocoDB base identifier as returned by
base_id()
. A character scalar.- 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.
Value
A tibble with metadata about detected schema changes in the NocoDB data source.
See also
Other functions to manage NocoDB base data sources:
create_data_src()
,
create_data_src_tbl()
,
data_src()
,
data_src_id()
,
data_src_tbls()
,
data_srcs()
,
delete_data_src()
,
has_data_src_diff()
,
sync_data_src()
,
test_data_src()
,
update_data_src()