dolt | R Documentation |
dolt()
returns a connection to a default database. It is a convenience
wrapper around dbConnect(dolt_local/remote(), ...
that also caches connections
for faster loading.
dolt(
dir = Sys.getenv("DOLT_DIR", "doltdb"),
dbname = NULL,
username = Sys.getenv("DOLT_USERNAME", "root"),
password = Sys.getenv("DOLT_PASSWORD", ""),
port = Sys.getenv("DOLT_PORT", 3306L),
host = Sys.getenv("DOLT_HOST", "127.0.0.1"),
cache_connection = TRUE,
...
)
dir |
The directory from which to server a |
dbname |
for remote connections, the database name |
username |
The username. Defaults to "root" |
password |
The login password. Defaults to empty. |
port |
The TCP port for connections. Defaults to 3306. |
host |
The IP of the host. Defaults to the local machine, |
cache_connection |
Should we preserve a cache of the connection? allows faster load times and prevents connection from being garbage-collected. |
... |
further arguments passed to |
Other connections:
dolt_local()
,
dolt_remote()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.