View source: R/insert_into_returning.R
insert_into_returning | R Documentation |
Checks whether the table already has values matching
insert_into_returning(con, table, d, key = NULL, ret = NULL)
con |
Connection to db to insert values into. |
table |
Name of table to insert values into. |
d |
Data frame of data to be inserted into db. |
key |
Keys to check for already existing in the database. If trying to add a new row with unique key constraints use this to check for existing entries with same information. |
ret |
The fields to return, defaults to using "id" |
List of returned ids from inserted values.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.