dbDataType,MySQLDriver-method
From RMySQL v0.10.20
by Jeroen Ooms
Determine the SQL Data Type of an S object
This method is a straight-forward implementation of the corresponding generic function.
Usage
# S4 method for MySQLDriver
dbDataType(dbObj, obj)# S4 method for MySQLConnection
dbDataType(dbObj, obj)
Arguments
- dbObj
A
MySQLDriver
orMySQLConnection
.- obj
R/S-Plus object whose SQL type we want to determine.
Examples
# NOT RUN {
dbDataType(RMySQL::MySQL(), "a")
dbDataType(RMySQL::MySQL(), 1:3)
dbDataType(RMySQL::MySQL(), 2.5)
# }
Community examples
Looks like there are no examples yet.