RMariaDB (version 1.3.1)

MariaDBConnection-class: Class MariaDBConnection.

Description

"MariaDBConnection" objects are usually created by DBI::dbConnect(). They represent a connection to a MariaDB or MySQL database.

Usage

# S3 method for MariaDBConnection
format(x, ...)

# S4 method for MariaDBConnection dbDisconnect(conn, ...)

# S4 method for MariaDBConnection dbGetInfo(dbObj, what = "", ...)

# S4 method for MariaDBConnection dbIsValid(dbObj, ...)

# S4 method for MariaDBConnection show(object)

Arguments

Details

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.