aRTtable-createRelation {aRT} | R Documentation

## Create a new table relation

### Description

(not implemented) Function that creates a new relation between two database tables. To access the joining of this two tables create an `aRTtheme` object using both.

### Usage

    ## S4 method for signature 'aRTtable':
    createRelation(object, attr, rtable, rattr, cascadedel, relname)
    ## S4 method for signature 'aRTtable':
    createRelation(object, attr="commonobj", rtable)

### Arguments

`object` | `aRTtable` to be linked.
`attr` | This tables attribute to be joined.
`rtable` | The related table.
`rattr` | Related table attribute. Default is `attr`.
`cascadedel` | Delete data from object if their links are removed. Default is `FALSE`.
`relname` | The relation's name.

### Author(s)

Pedro Ribeiro de Andrade Neto

### See Also

See `aRTtable-class` to show the description of this class.

[Package aRT version 0.4-0 Index]