"db.view"
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 when the view is materialized. The view in the
database does not have a primary key. 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.
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.table
is the other subclass of
'>db.data.frame