tbl_db
)tbl_db()
just like [dplyr::tbl
] to generate a lazy loaded sql table,
with the difference that you can write to the table.{DBI}
interface, initially just
for the initial support set of PostgreSQL and SQLite.dbPrimaryKey()
- fetch the names of the primary key columnsdbInTransaction()
to determine if the transaction is activedbSetConnId()
to add identifiers to the connectiontbl_db
that mimic {DBI}
but operate on a tableexecute()
connect()
begin()
commit()
rollback()
transact()
in_transaction()
{dbx}
insert()
update()
upsert()
delete()
df_db()
is generated whenever a tbl_db()
is collected, so that one
can perform atbitrary transformations in memory while still being able
to retain a connection to the DB for data manipulation statements.NEWS.md
file to track changes to the package.Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.