dbDataType-methods: Determine the SQL Data Type of an S object

dbDataType-methodsR Documentation

Determine the SQL Data Type of an S object

Description

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

Methods

dbObj

any PostgreSQLObject object, e.g., PostgreSQLDriver, PostgreSQLConnection, PostgreSQLResult.

obj

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

...

any other parameters that individual methods may need.

References

See the Database Interface definition document DBI.pdf in the base directory of this package or https://cran.r-project.org/package=DBI.

See Also

isSQLKeyword make.db.names

Examples

## Not run: 
data(quakes)
drv <- dbDriver("PostgreSQL")
sql.type <- dbDataType(drv, quakes)

## End(Not run)

RPostgreSQL documentation built on Feb. 16, 2023, 8:53 p.m.