aRTtable-createRelation         package:aRT         R Documentation

_C_r_e_a_t_e _a _n_e_w _t_a_b_l_e _r_e_l_a_t_i_o_n

_D_e_s_c_r_i_p_t_i_o_n:

     (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.

_U_s_a_g_e:

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

_A_r_g_u_m_e_n_t_s:

  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.

_A_u_t_h_o_r(_s):

     Pedro Ribeiro de Andrade Neto

_S_e_e _A_l_s_o:

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

