Learn R Programming

RMySQL (version 0.10.2)

dbDataType,MySQLDriver-method: Determine the SQL Data Type of an S object

Description

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

Usage

## S3 method for class 'MySQLDriver':
dbDataType(dbObj, obj)

## S3 method for class 'MySQLConnection': dbDataType(dbObj, obj)

Arguments

dbObj
A MySQLDriver or MySQLConnection.
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(RMySQL::MySQL(), "a")
dbDataType(RMySQL::MySQL(), 1:3)
dbDataType(RMySQL::MySQL(), 2.5)

Run the code above in your browser using DataLab