Description Usage Arguments Examples
This function generates a database connection string based on the parameters. The resulting URL has to be passed into the other functions (e.g. runQuery
) in order to indicate the database to be queried.
1 | getDB(database, host = "localhost", username = "admin", password = "admin", port = "2480")
|
database |
The name of the database you would like to open. |
host |
The host name or the IP address of the host. |
username |
The username you would like to use for databased access. |
password |
The corresponding poassword. |
port |
The HTTP port number, in case you are not using the default 2480. |
1 2 3 4 5 6 7 8 9 10 11 12 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.