"db.table"
A sub-class of '>db.data.frame
which points to
tables in the database
Objects can be created by calls of db.data.frame
or
as.db.data.frame
As a sub-class, this class has all the slots of
'>db.data.frame
. Here we list the extra slots.
.key
:Object of class "character"
. The name of the primary key
column name. Currently only one primary key column is
supported. This value can be set during the creation of the object
when using the function db.data.frame
. The functions
key
and key<-
can be used to get and
set this value.
.dim
:Object of class "numeric"
. A two-integer array, the
dimension information of the table that this object points to. The
first
integer is the total row number of the table, and the second is
the number of columns of the
table. dim,db.table-method
gets this value.
db.data.frame
creates a db.data.frame
object.
as.db.data.frame
converts db.Rquery
object,
data.frame
, or a data file into a db.data.frame
object
and at the same time creates a new table in the database.
'>db.data.frame
is the superclass.
'>db.view
is the other subclass of
'>db.data.frame