dbSendQuery {Rdbi}R Documentation

Submits a query string to the database backend

Description

dbSendQuery is a generic function that, when called on a valid connection object, pastes is argments into a query string and submits it to the database backend for processing.

Usage

dbSendQuery(conn, ...)

Arguments

conn A database connection object.
... Arguments that when pasted together form a query string.

Details

Sub-classed dbSendQuery methods should not fail unless the connection is not valid, in which case an error message should be printed. Information about the query result status can be obtained by dereferencing the returned result object.

Value

A result object inheriting from "Rdbi.result". You can arrange for the result buffer to be cleared when the result object is garbage collected by registering a finalizer function. See the C code in Rdbi.PgSQL.

Author(s)

Timothy H. Keitt

References

http://rdbi.sourceforge.net/

See Also

dbConnect, dbGetResult, dbResultInfo, methods, class, paste


[Package Rdbi version 1.0.4 Index]