remove_field: Remove a field from a table in a RelDataModel

View source: R/RelDataModel.R

remove_fieldR Documentation

Remove a field from a table in a RelDataModel

Description

Remove a field from a table in a RelDataModel

Usage

remove_field(x, tableName, fieldName, rmForeignKeys = FALSE)

Arguments

x

a RelDataModel

tableName

the name of the table to modify (a single character)

fieldName

the name of the field to remove (a single character)

rmForeignKeys

a single logical indicating if the corresponding foreign keys should be removed. If FALSE (default), the function will throw an error if it encounter a foreign key using the field.

Value

A RelDataModel


patzaw/ReDaMoR documentation built on Feb. 23, 2025, 12:54 a.m.