sql_manipulation: sql_manipulation

Description Usage Arguments Details Value Note Author(s)

View source: R/pull&push.R

Description

push or pull or watch the information of the database

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
sql_manipulation(
  dsn = NULL,
  server = NULL,
  database,
  uid,
  pwd,
  sql_choice = c("check_connection", "push", "pull", "tables_info"),
  df_identifier = NULL,
  table_name = NULL,
  df = NULL,
  attributes = NULL
)

Arguments

dsn

our server if is local

server

our server if is not local

database

database in the server

uid

Your username to enter to the server

pwd

your password to enter to the server

sql_choice

choice that we want to do with a table in a database

df_identifier

string name that identify a table in a database.

table_name

name of the table

df

dataset that we want to pull to the database

attributes

variables to select from the table

Details

This function allows you to push or pull or watch the information of the database

Value

"This function returns different results based on mongo_choice variable:"

Note

If there is something wrong with the connection will return a message string.

Author(s)

Eduardo Trujillo


1Edtrujillo1/udeploy documentation built on July 13, 2021, 9:12 p.m.