dbSendQuery-methods

0th

Percentile

Execute a statement on a given database connection

These methods are straight-forward implementations of the corresponding generic functions. However, for complex data like array are just transferred as a string instead of the corresponding vector in R. This behavior will change in future releases, and the author is advised not to rely on it.

Keywords
methods, interface, database
Methods

conn

an PostgreSQLConnection object.

statement

a character vector of length 1 with the SQL statement.

res

an PostgreSQLResult object.

additional parameters.

References

See the Database Interface definition document DBI.pdf in the base directory of this package or https://cran.r-project.org/package=DBI.

See Also

PostgreSQL, dbDriver, dbConnect, fetch, dbCommit, dbGetInfo, dbReadTable.

Aliases
  • dbSendQuery-methods
  • dbGetQuery-methods
  • dbClearResult-methods
  • dbGetException-methods
  • dbSendQuery,PostgreSQLConnection,character-method
  • dbGetQuery,PostgreSQLConnection,character-method
  • dbClearResult,PostgreSQLResult-method
  • dbGetException,PostgreSQLConnection-method
  • dbGetException,PostgreSQLResult-method
Examples

Documentation reproduced from package RPostgreSQL, version 0.6-2, License: GPL-2 | file LICENSE

Community examples

Looks like there are no examples yet.