Description Usage Arguments Details Value Author(s) See Also Examples
This function displays the SQL table, database, host, and connection
information associated with a db.table
or db.view
object.
1 2 3 4 5 6 7 8 9 10 11 |
x |
The signature of the method.
A |
object |
The signature of the method.
A |
When the signature x
is either a db.data.frame
object or a
db.Rquery
object, this function displays the name of connected SQL
database, the SQL database host, and the connection ID.
When the signature x
is a db.data.frame
object, the function also displays the associated table. When the signature x
is a db.Rquery
object, this function displays the temporary status of the input, and the table that it is derived from.
This function returns nothing.
Author: Predictive Analytics Team at Pivotal Inc.
Maintainer: Frank McQuillan, Pivotal Inc. fmcquillan@pivotal.io
lk
or lookat
Displays the contents of an associated table.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 | ## Not run:
## set up the database connection
## Assume that .port is port number and .dbname is the database name
cid <- db.connect(port = .port, dbname = .dbname, verbose = FALSE)
## create a table from the example data.frame "abalone"
x <- as.db.data.frame(abalone, conn.id = cid, verbose = FALSE)
## printing db.data.frame object
x # Display the associated table, and database information for x
db.disconnect(cid, verbose = FALSE)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.