Learn R Programming

ReDaMoR (version 0.8.2)

add_index: Add an index to a table in a RelDataModel

Description

Add an index to a table in a RelDataModel

Usage

add_index(x, tableName, fieldNames, unique)

Value

A RelDataModel

Arguments

x

a RelDataModel

tableName

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

fieldNames

the names of the fields to include in the index

unique

a logical indicating if the indexed values are unique