db_insert: db_insert inserts data into a database table from a...

Description Usage Arguments Value Examples

Description

Inserts data into a database table from a data.frame

Usage

1
db_insert(conn, name, values, query = FALSE, ...)

Arguments

conn:

Connection to database. Can used assigned output from function connectR for the connection.

name:

Table name on database data is inserting into.

values:

Data.frame that is being sent to database.

Value

Inserts data.

Examples

1
2
 #Inserts testtable data into the table "testtable" on the database.
   db_insert(post,"testtabe",testtable)

DyfanJones/connectR documentation built on May 23, 2019, 10:32 p.m.