dbDataType() returns the SQL type that corresponds to the
as a non-empty
For data frames, a character vector with one element per column
An error is raised for invalid values for the
obj argument such as a
The backend can override the
for its driver class.
This generic expects an arbitrary object as second argument.
To query the values returned by the default implementation,
example(dbDataType, package = "DBI").
If the backend needs to override this generic,
it must accept all basic R data types as its second argument, namely
dates (see Dates),
date-time (see DateTimeClasses),
If the database supports blobs,
this method also must accept lists of raw vectors,
and blob::blob objects.
As-is objects (i.e., wrapped by
I()) must be
supported and return the same results as their unwrapped counterparts.
The SQL data type for factor
and ordered is the same as for character.
The behavior for other object types is not specified.