The SQLServerPreResult
class extends the DBIResult
class, the
SQLServerResult
class extends the SQLServerPreResult
class,
while the SQLServerUpdateResult
class extends the
SQLServerResult
class. The SQLServerUpdateResult
class is
created by a call to dbSendStatement
as the JDBC API does not return a
ResultSet but rather an integer value for non-query statements. The
dbGetRowsAffected
called on SQLServerUpdateResult
returns the
value produced by the JDBC API. The SQLServerPreResult
class wraps a
JDBC PreparedStatement that has yet to be executed and is necessary for
dbBind
to function per the DBI spec (taking a DBIResult as an input
and returning another as output). This contrasts to the JDBC interface where
binding occurs on Statement classes and not on ResultSet classes.
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 | ## S4 method for signature 'SQLServerResult'
dbIsValid(dbObj)
## S4 method for signature 'SQLServerPreResult,numeric'
dbFetch(res, n = -1, ...)
## S4 method for signature 'SQLServerPreResult,numeric'
fetch(res, n = -1, ...)
## S4 method for signature 'SQLServerUpdateResult,numeric'
fetch(res, n = -1, ...)
## S4 method for signature 'SQLServerPreResult'
dbBind(res, params, ..., batch = FALSE)
## S4 method for signature 'SQLServerResult,numeric'
dbFetch(res, n = -1, ...)
## S4 method for signature 'SQLServerResult,numeric'
fetch(res, n = -1, block = 2048L, ...)
## S4 method for signature 'SQLServerResult'
dbColumnInfo(res, ...)
## S4 method for signature 'SQLServerResult'
dbClearResult(res, ...)
## S4 method for signature 'SQLServerResult'
dbGetStatement(res, ...)
## S4 method for signature 'SQLServerResult'
dbGetRowCount(res, ...)
## S4 method for signature 'SQLServerResult'
dbGetRowsAffected(res, ...)
## S4 method for signature 'SQLServerUpdateResult'
dbGetRowsAffected(res, ...)
## S4 method for signature 'SQLServerResult'
dbHasCompleted(res, ...)
## S4 method for signature 'SQLServerUpdateResult'
dbHasCompleted(res, ...)
|
batch |
logical, indicates whether uploads (e.g., 'INSERT' or
'UPDATE') should be uploaded in batches, potentially much faster
than by individual rows (the default). (Setting it here enabled
binding the variables in batches, the actual batched upload is
done in |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.