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.

