findOrphansByTable: Internal function to identify orphan records in a given...

View source: R/findOrphansByTable.R

findOrphansByTableR Documentation

Internal function to identify orphan records in a given RDBESDataObject table

Description

Internal function to identify orphan records in a given RDBESDataObject table

Usage

findOrphansByTable(tableToCheck, objectToCheck, foreignKeyIds, verbose = FALSE)

Arguments

tableToCheck

The two letter code for the table to check

objectToCheck

An RDBESDataObject

foreignKeyIds

A vetor of the foreign key field names to check

verbose

(Optional) If set to TRUE more detailed text will be printed out by the function. Default is TRUE.

Value

A data frame with the primary keys of the table checked, the two letter table identifier, and their orphan status.


ices-tools-dev/icesRDBES documentation built on April 17, 2025, 1:58 p.m.