db_send_query: db_send_query sends SQL

Description Usage Arguments Value Examples

Description

Sends sql queries to the database.

Usage

1
db_send_query(conn, statement, ...)

Arguments

con:

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

statement:

Sql query to be sent to the database.

...:

Other parameters passed on to methods.

Value

Sends sql queries directly to the database.

Examples

1
2
 #Sending sql query to create table on database.
   db_send_query(post, "create table hello as (select * from world) with no data;")

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