1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54
|
% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/result.R
\name{result-meta}
\alias{result-meta}
\alias{dbColumnInfo,MySQLResult-method}
\alias{dbGetRowsAffected,MySQLResult-method}
\alias{dbGetRowCount,MySQLResult-method}
\alias{dbHasCompleted,MySQLResult-method}
\alias{dbGetException,MySQLResult-method}
\alias{summary,MySQLResult-method}
\alias{show,MySQLResult-method}
\title{Database interface meta-data.}
\usage{
\S4method{dbColumnInfo}{MySQLResult}(res, ...)
\S4method{dbGetRowsAffected}{MySQLResult}(res, ...)
\S4method{dbGetRowCount}{MySQLResult}(res, ...)
\S4method{dbHasCompleted}{MySQLResult}(res, ...)
\S4method{dbGetException}{MySQLResult}(conn, ...)
\S4method{summary}{MySQLResult}(object, verbose = FALSE, ...)
\S4method{show}{MySQLResult}(object)
}
\arguments{
\item{res, conn, object}{An object of class \code{\linkS4class{MySQLResult}}}
\item{...}{Ignored. Needed for compatibility with generic}
\item{verbose}{If \code{TRUE}, print extra information.}
}
\description{
See documentation of generics for more details.
}
\examples{
if (mysqlHasDefault()) {
con <- dbConnect(RMySQL::MySQL(), dbname = "test")
dbWriteTable(con, "t1", datasets::USArrests, overwrite = TRUE)
rs <- dbSendQuery(con, "SELECT * FROM t1 WHERE UrbanPop >= 80")
dbGetStatement(rs)
dbHasCompleted(rs)
dbGetInfo(rs)
dbColumnInfo(rs)
dbClearResult(rs)
dbRemoveTable(con, "t1")
dbDisconnect(con)
}
}
|