dolt_remote | R Documentation |
dolt_remote()
is a DBI Driver to connect to a remote dolt
server via
a port. It, DoltDriver
,
and DoltConnection
class are wrappers around the around classes and methods
from the RMariaDB
package.
Most parameters can be specified with package configuration environment variables.
dolt_remote()
## S4 method for signature 'DoltDriver'
dbUnloadDriver(drv, ...)
## S4 method for signature 'DoltDriver'
show(object)
## S4 method for signature 'DoltDriver'
dbConnect(
drv = dolt_remote(),
dbname = Sys.getenv("DOLT_DIR", "doltdb"),
username = Sys.getenv("DOLT_USERNAME", "root"),
password = Sys.getenv("DOLT_PASSWORD", ""),
host = Sys.getenv("DOLT_HOST", "127.0.0.1"),
port = Sys.getenv("DOLT_PORT", 3306L),
autocommit = TRUE,
...
)
drv |
an object of class |
... |
other arguments passed to RMariaDB::MariaDB |
object |
a connection object |
dbname |
The database name |
username |
The username. Defaults to "root" |
password |
The login password. Defaults to empty. |
host |
The IP of the host. Defaults to the local machine, |
port |
The TCP port for connections. Defaults to 3306. |
autocommit |
Whether to autocommit changes in the SQL sense. That is, to flush pending changes to disk and update the working set. |
Most methods fall back to those for RMariaDB
.
Other connections:
dolt_local()
,
dolt()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.