Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
HenrikVarmer authored Aug 3, 2020
1 parent 51abb2d commit d1b3968
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,3 +12,10 @@ devtools::install_github('HenrikVarmer/upsertR')
# Functions
There is only one core function in upsertR: ```Rupsert()```, which lets you upsert a dataframe to a target SQL server. See below for an example.

```R
upsert(con, # SQL server connections string
df, # input dataframe
schema, # Target schema name on SQL server
table, # Target table name on SQL server
delete = TRUE) # specifies whether to delete old ID's not present in input DF. TRUE deletes old ID's
```

0 comments on commit d1b3968

Please sign in to comment.