Learn R Programming

RMariaDB (version 1.3.2)

dbDataType: Determine the SQL Data Type of an S object

Description

This method is a straight-forward implementation of the corresponding generic function.

Usage

# S4 method for MariaDBConnection
dbDataType(dbObj, obj, ...)

# S4 method for MariaDBDriver dbDataType(dbObj, obj, ...)

Arguments

dbObj

A MariaDBDriver or MariaDBConnection object.

obj

R/S-Plus object whose SQL type we want to determine.

...

any other parameters that individual methods may need.

Examples

Run this code
dbDataType(RMariaDB::MariaDB(), "a")
dbDataType(RMariaDB::MariaDB(), 1:3)
dbDataType(RMariaDB::MariaDB(), 2.5)

Run the code above in your browser using DataLab