Description Usage Arguments Author(s) See Also Examples
Connects to postgresSQL database and runs the query given in the string. Possible enhancements : Store as RDS
1 | runSQLinText(sqlText, username = NA, password = NA, dbname, host, port)
|
sqlText |
Sql query |
password |
database passowrd, if not provided will be prompted |
dbname |
database name |
host |
database host name |
port |
database port |
user |
database user name, if not provided will be prompted |
Amit Agni
Other database functions:
runSQLinFile()
1 | runPostgreSQL_asText(sqlText = "select * from table limit 19",user = "",password="",readFromRds = F,dbname = "dw",host = "dwserver", port = 5050)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.