View source: R/rocker-S3-functions.R
begin | R Documentation |
Begin transaction.
begin(db, ...)
db |
rocker object |
... |
Optional, additional suitable parameters passed to |
Invisible self
Other rocker-S3-functions:
appendTable()
,
canConnect()
,
clearResult()
,
columnInfo()
,
commit()
,
connect()
,
createTable()
,
disconnect()
,
execute()
,
existsTable()
,
fetch()
,
getInfoCon()
,
getInfoDrv()
,
getInfoRes()
,
getQuery()
,
getRowCount()
,
getRowsAffected()
,
getStatement()
,
hasCompleted()
,
isValidCon()
,
isValidDrv()
,
isValidRes()
,
listFields()
,
listObjects()
,
listTables()
,
readTable()
,
removeTable()
,
rocker-README
,
rocker-S3-functions
,
rocker-package
,
rollback()
,
sendQuery()
,
sendStatement()
,
setupDriver()
,
setupMariaDB()
,
setupPostgreSQL()
,
setupSQLite()
,
unloadDriver()
,
validateCon()
,
writeTable()
db <- rocker::newDB() rocker::setupSQLite(db) rocker::connect(db) rocker::writeTable(db, "mtcars", mtcars) rocker::begin(db) rocker::sendStatement(db, "DELETE FROM mtcars WHERE gear = 3;") rocker::clearResult(db) rocker::commit(db) rocker::disconnect(db) rocker::unloadDriver(db)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.