Skip to content

Commit

Permalink
Merge pull request #419 from r-dbi/pkgdown-fixes
Browse files Browse the repository at this point in the history
docs: Correct vignette titles
  • Loading branch information
aviator-app[bot] authored Nov 8, 2023
2 parents b1a85ad + 1d47365 commit 7048fae
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 4 deletions.
7 changes: 6 additions & 1 deletion vignettes/DBI-advanced.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ author: "James Wondrasek, Kirill Müller"
date: "17/03/2020"
output: rmarkdown::html_vignette
vignette: >
%\VignetteIndexEntry{"Advanced DBI Usage"}
%\VignetteIndexEntry{Advanced DBI Usage}
%\VignetteEngine{knitr::rmarkdown}
%\VignetteEncoding{UTF-8}
---
Expand Down Expand Up @@ -240,10 +240,15 @@ dbGetRowsAffected(rs)
dbClearResult(rs)
dbReadTable(con, "cars")
```

Do not forget to disconnect from the database at the end.

```{r}
dbDisconnect(con)
```


## SQL transactions with DBI

DBI allows you to group multiple queries into a single atomic transaction. Transactions are initiated with `dbBegin()` and either made persistent with `dbCommit()` or undone with `dbRollback()`.
Expand Down
2 changes: 1 addition & 1 deletion vignettes/DBI-arrow.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ author: "Kirill Müller"
date: "29/09/2022"
output: rmarkdown::html_vignette
vignette: >
%\VignetteIndexEntry{"Using DBI with Arrow"}
%\VignetteIndexEntry{Using DBI with Arrow}
%\VignetteEngine{knitr::rmarkdown}
%\VignetteEncoding{UTF-8}
---
Expand Down
2 changes: 1 addition & 1 deletion vignettes/DBI-history.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ title: "History of DBI"
author: "David James"
output: rmarkdown::html_vignette
vignette: >
%\VignetteIndexEntry{"History of DBI"}
%\VignetteIndexEntry{History of DBI}
%\VignetteEngine{knitr::rmarkdown}
%\VignetteEncoding{UTF-8}
---
Expand Down
2 changes: 1 addition & 1 deletion vignettes/DBI.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ author: "James Wondrasek, Katharina Brunner, Kirill Müller"
date: "27 February 2020"
output: rmarkdown::html_vignette
vignette: >
%\VignetteIndexEntry{"Introduction to DBI"}
%\VignetteIndexEntry{Introduction to DBI}
%\VignetteEngine{knitr::rmarkdown}
%\VignetteEncoding{UTF-8}
---
Expand Down

0 comments on commit 7048fae

Please sign in to comment.