MariaDBConnection-class | R Documentation |
"MariaDBConnection"
objects are usually created by DBI::dbConnect()
.
They represent a connection to a MariaDB or MySQL database.
## S3 method for class 'MariaDBConnection'
format(x, ...)
## S4 method for signature 'MariaDBConnection'
dbDisconnect(conn, ...)
## S4 method for signature 'MariaDBConnection'
dbGetInfo(dbObj, what = "", ...)
## S4 method for signature 'MariaDBConnection'
dbIsValid(dbObj, ...)
## S4 method for signature 'MariaDBConnection'
show(object)
The "MySQLConnection"
class is a subclass of "MariaDBConnection"
.
Objects of that class are created by dbConnect(MariaDB(), ..., mysql = TRUE)
to indicate that the server is a MySQL server.
The RMariaDB package supports both MariaDB and MySQL servers, but the SQL dialect
and other details vary.
The default is to detect the server type based on the version number.
The older RMySQL package also implements the "MySQLConnection"
class.
The S4 system is able to distinguish between RMariaDB and RMySQL objects
even if both packages are loaded.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.