PostgreSQLResult-class(RPostgreSQL)
PostgreSQLResult-class()所属R语言包:RPostgreSQL
Class PostgreSQLResult
类PostgreSQLResult
译者:生物统计家园网 机器人LoveR
描述----------Description----------
PostgreSQL's query results class. This classes encapsulates the result of an SQL statement (either select or not).
PostgreSQL的查询结果类。这个类封装了一个SQL语句的结果(无论是select与否)。
发电机----------Generators----------
The main generator is dbSendQuery.
的主发电机dbSendQuery。
扩展----------Extends----------
Class "DBIResult", directly. Class "PostgreSQLObject", directly. Class "DBIObject", by class "DBIResult". Class "dbObjectId", by class "PostgreSQLObject".
类"DBIResult",直接。类"PostgreSQLObject",直接。类"DBIObject",通过类“DBIResult”。类"dbObjectId",通过类“PostgreSQLObject”。
方法----------Methods----------
coerce signature(from = "PostgreSQLConnection", to = "PostgreSQLResult"): ...
要挟signature(from = "PostgreSQLConnection", to = "PostgreSQLResult"):...
dbClearResult signature(res = "PostgreSQLResult"): ...
dbClearResult signature(res = "PostgreSQLResult")...
dbColumnInfo signature(res = "PostgreSQLResult"): ...
DBCOLUMNINFO signature(res = "PostgreSQLResult")...
dbGetException signature(conn = "PostgreSQLResult"): ...
dbGetException signature(conn = "PostgreSQLResult")...
dbGetInfo signature(dbObj = "PostgreSQLResult"): ...
dbGetInfo signature(dbObj = "PostgreSQLResult")...
dbGetRowCount signature(res = "PostgreSQLResult"): ...
dbGetRowCount signature(res = "PostgreSQLResult")...
dbGetRowsAffected signature(res = "PostgreSQLResult"): ...
dbGetRowsAffected signature(res = "PostgreSQLResult")...
dbGetStatement signature(res = "PostgreSQLResult"): ...
dbGetStatementsignature(res = "PostgreSQLResult"):...
dbHasCompleted signature(res = "PostgreSQLResult"): ...
dbHasCompleted signature(res = "PostgreSQLResult")...
dbListFields signature(conn = "PostgreSQLResult", name = "missing"): ...
dbListFieldssignature(conn = "PostgreSQLResult", name = "missing"):...
fetch signature(res = "PostgreSQLResult", n = "numeric"): ...
取signature(res = "PostgreSQLResult", n = "numeric"):...
fetch signature(res = "PostgreSQLResult", n = "missing"): ...
取signature(res = "PostgreSQLResult", n = "missing"):...
summary signature(object = "PostgreSQLResult"): ...
总结signature(object = "PostgreSQLResult"):...
参考文献----------References----------
<code>DBI.pdf</code> in the base directory of this package or http://developer.r-project.org/db
参见----------See Also----------
DBI base classes:
DBI的基类:
DBIObject-class DBIDriver-class DBIConnection-class DBIResult-class
DBIObject-classDBIDriver-classDBIConnection-classDBIResult-class
PostgreSQL classes:
PostgreSQL的类:
PostgreSQLObject-class PostgreSQLDriver-class PostgreSQLConnection-class PostgreSQLResult-class
PostgreSQLObject-classPostgreSQLDriver-classPostgreSQLConnection-classPostgreSQLResult-class
实例----------Examples----------
drv <- dbDriver("PostgreSQL")
con <- dbConnect(drv, dbname = "template1")
## rs is the result set[#rs是结果集]
rs <- dbSendQuery(con,"select * from sales")
## display the first three values of result set[#显示的结果集的前三个值]
fetch(rs,n=3)
## End(Not run)[#(不执行)]
转载请注明:出自 生物统计家园网(http://www.biostatistic.net)。
注:
注1:为了方便大家学习,本文档为生物统计家园网机器人LoveR翻译而成,仅供个人R语言学习参考使用,生物统计家园保留版权。
注2:由于是机器人自动翻译,难免有不准确之处,使用时仔细对照中、英文内容进行反复理解,可以帮助R语言的学习。
注3:如遇到不准确之处,请在本贴的后面进行回帖,我们会逐渐进行修订。
|