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)
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