dbObjectId-class           package:RSQLite           R Documentation

_C_l_a_s_s _d_b_O_b_j_e_c_t_I_d

_D_e_s_c_r_i_p_t_i_o_n:

     A helper (mixin) class to provide external references in an
     R/S-Plus portable way.

_O_b_j_e_c_t_s _f_r_o_m _t_h_e _C_l_a_s_s:

     A virtual Class: No objects may be created from it.

_S_l_o_t_s:

     `_I_d': Object of class `"integer"'  this is an integer vector
          holding an opaque reference into a C struct (may or may not
          be a C pointer, may or may not have length one).

_M_e_t_h_o_d_s:

     _c_o_e_r_c_e `signature(from = "dbObjectId", to = "integer")': ... 

     _c_o_e_r_c_e `signature(from = "dbObjectId", to = "numeric")': ... 

     _c_o_e_r_c_e `signature(from = "dbObjectId", to = "character")': ... 

     _f_o_r_m_a_t `signature(x = "dbObjectId")': ... 

     _p_r_i_n_t `signature(x = "dbObjectId")': ... 

     _s_h_o_w `signature(object = "dbObjectId")': ... 

_N_o_t_e:

     A cleaner mechanism would use external references, but
     historically this class has existed mainly for R/S-Plus
     portability.

_E_x_a_m_p_l_e_s:

       pg <- dbDriver("PostgreSQL")
       con <- dbConnect(pg, "user", "password")
       is(pg, "dbObjectId")   ## True
       is(con, "dbObjectId")  ## True
       isIdCurrent(con)       ## True
       q("yes")
       \$ R 
       isIdCurrent(con)       ## False

