R/joinCondition.R

Defines functions joinCondition

Documented in joinCondition

#' joinCondition 
#'
#' joinCondition 
#'
#'
#' @inheritParams common_attributes 
#' @param key The set of attributes to which this constraint applies. See [key()]
#' @param entityReference The id of the parent-entity in a foreign key constraint. See [entityReference()]
#' @param relationshipType Relationship type: Identifying or non-identifying See [relationshipType()]
#' @param cardinality Cardinality of the relationship between a parent entity and a child entity. See [cardinality()]
#' @param referencedKey The set of attributes to which a foreign key constraint refers. See [referencedKey()]
#'
#' @return a joinCondition list object
#'
#' @export

 joinCondition <- function(key = NULL,
 entityReference = NULL,
 relationshipType = NULL,
 cardinality = NULL,
 referencedKey = NULL){ 
Filter(Negate(is.null),
 list(
key = key,
entityReference = entityReference,
relationshipType = relationshipType,
cardinality = cardinality,
referencedKey = referencedKey))}
cboettig/build.eml documentation built on May 8, 2019, 8:57 p.m.