dbWriteTable.PgSQL.conn {RdbiPgSQL} | R Documentation |
Write a data frame to a database
Description
dbWriteTable
writes the contents of a data frame into a
PostgreSQL table.
Usage
## S3 method for class 'PgSQL.conn':
dbWriteTable(conn, ...)
Arguments
conn |
A connection object |
... |
Other arguments, described in details |
Details
Other arguments:
- data
- A data frame
- name
- The table name, defaults to
deparse(substitute(data))
- no.clobber
- If true, don't delete existing table of same name,
defaults to TRUE
- write.row.names
- If true, add an additional column containing
row names, defaults to FALSE
Author(s)
Timothy H. Keitt
References
http://rdbi.sourceforge.net/
See Also
dbReadTable
[Package
RdbiPgSQL version 1.16.0
Index]