JDBCUpdateResult-class: JDBCUpdateResult class

Description Usage Arguments Methods (by generic) Methods See Also

Description

The class created as a result of a database query which returns no results (e.g. for INSERT or UPDATE statements).

Usage

 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
## S4 method for signature 'JDBCUpdateResult,numeric'
dbFetch(res, n = -1, ...)

## S4 method for signature 'JDBCUpdateResult,missing'
dbFetch(res, n = -1, ...)

## S4 method for signature 'JDBCUpdateResult'
dbClearResult(res, ...)

## S4 method for signature 'JDBCUpdateResult'
dbColumnInfo(res, ...)

## S4 method for signature 'JDBCUpdateResult'
dbGetRowCount(res, ...)

## S4 method for signature 'JDBCUpdateResult'
dbGetInfo(dbObj, ...)

## S4 method for signature 'JDBCUpdateResult'
dbIsValid(dbObj, ...)

## S4 method for signature 'JDBCUpdateResult'
dbGetDriver(dbObj, ...)

## S4 method for signature 'JDBCUpdateResult'
dbHasCompleted(res, ...)

## S4 method for signature 'JDBCUpdateResult'
dbGetStatement(res, ...)

## S4 method for signature 'JDBCUpdateResult'
dbGetRowsAffected(res, ...)

Arguments

res

an JDBCUpdateResult object.

n

optional maximum number of records to retrieve per fetch. Use -1 to retrieve all pending records; use 0 for to fetch the default number of rows as defined in JDBC

...

Ignored. Needed for compatibility with generic.

dbObj

An object of class JDBCUpdateResult

Methods (by generic)

Methods

dbHasCompleted: Check if all results have been fetched

dbGetStatement: Returns the statement that was passed to dbSendQuery

dbGetRowsAffected: Returns the number of rows that were added, deleted, or updated

See Also

Other result classes: JDBCQueryResult-class, JDBCResult-class


hoesler/dbj documentation built on May 17, 2019, 4:36 p.m.