Package: pool 1.0.4
pool: Object Pooling
Enables the creation of object pools, which make it less computationally expensive to fetch a new object. Currently the only supported pooled objects are 'DBI' connections.
Authors:
pool_1.0.4.tar.gz
pool_1.0.4.tar.gz(r-4.5-noble)pool_1.0.4.tar.gz(r-4.4-noble)
pool_1.0.4.tgz(r-4.4-emscripten)pool_1.0.4.tgz(r-4.3-emscripten)
pool.pdf |pool.html✨
pool/json (API)
NEWS
# Install 'pool' in R: |
install.packages('pool', repos = c('https://cran.r-universe.dev', 'https://cloud.r-project.org')) |
Bug tracker:https://github.com/rstudio/pool/issues
Pkgdown:https://rstudio.github.io
Last updated 3 months agofrom:5b76f915c8. Checks:OK: 2. Indexed: no.
Target | Result | Date |
---|---|---|
Doc / Vignettes | OK | Dec 07 2024 |
R-4.5-linux | OK | Dec 07 2024 |
Exports:dbAppendTabledbAppendTableArrowdbBegindbBreakdbCommitdbCreateTabledbCreateTableArrowdbDataTypedbDisconnectdbExecutedbExistsTabledbGetInfodbGetQuerydbGetQueryArrowdbIsReadOnlydbIsValiddbListFieldsdbListObjectsdbListTablesdbPooldbQuoteIdentifierdbQuoteLiteraldbQuoteStringdbReadTabledbReadTableArrowdbRemoveTabledbRollbackdbSendQuerydbSendQueryArrowdbSendStatementdbUnquoteIdentifierdbWithTransactiondbWriteTabledbWriteTableArrowdemoDblocalCheckoutonActivateonDestroyonPassivateonValidatePoolpoolCheckoutpoolClosepoolCreatepoolReturnpoolWithTransactionsqlAppendTablesqlCreateTablesqlDatasqlInterpolatesqlParseVariables
Readme and manuals
Help Manual
Help page | Topics |
---|---|
Unsupported DBI methods | dbBegin,Pool-method dbCommit,Pool-method dbDisconnect,Pool-method dbGetInfo,Pool-method DBI-custom dbIsValid,Pool-method dbRollback,Pool-method dbSendQuery,Pool-method dbSendStatement,Pool,ANY-method dbWithTransaction,Pool-method |
DBI methods (simple wrappers) | dbAppendTable,Pool-method dbAppendTableArrow,Pool-method dbCreateTable,Pool-method dbCreateTableArrow,Pool-method dbDataType,Pool-method dbExecute,Pool,ANY-method dbExistsTable,Pool,ANY-method dbGetQuery,Pool,ANY-method dbGetQueryArrow,Pool-method DBI-wrap dbIsReadOnly,Pool-method dbListFields,Pool,ANY-method dbListObjects,Pool-method dbListTables,Pool-method dbQuoteIdentifier,Pool,ANY-method dbQuoteLiteral,Pool-method dbQuoteString,Pool,ANY-method dbReadTable,Pool,ANY-method dbReadTableArrow,Pool-method dbRemoveTable,Pool,ANY-method dbSendQueryArrow,Pool-method dbUnquoteIdentifier,Pool-method dbWriteTable,Pool,ANY-method dbWriteTableArrow,Pool-method sqlAppendTable,Pool-method sqlCreateTable,Pool-method sqlData,Pool-method sqlInterpolate,Pool-method sqlParseVariables,Pool-method |
Create a pool of database connections | dbPool |
Create a pool of reusable objects | Pool Pool-class poolClose poolClose,Pool-method poolCreate |
Check out and return object from the pool | localCheckout poolCheckout poolCheckout,Pool-method poolReturn poolReturn,ANY-method |
Self-contained database transactions using pool | poolWithTransaction |
Use pool with dbplyr | copy_to.Pool tbl.Pool |