Skip to contents

Update field information in a table of a RelDataModel

Usage

update_field(
  x,
  tableName,
  fieldName,
  type = NULL,
  nullable = NULL,
  unique = NULL,
  comment = NULL
)

Arguments

x

a RelDataModel

tableName

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

fieldName

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

type

the type of the field (a single character)

nullable

if the field is nullable (a single logical)

unique

if the values are unique (a single logical)

comment

a description (a single character)

Value

A RelDataModel