dolt-read | R Documentation |
These methods are extensions of standard DBI functions such as DBI::dbReadTable.
They differ in that they can take an as_of
argument, reading historical data
from the database that was written as of a certain date or commit hash, or
from a different branch.
## S4 method for signature 'DoltConnection,character'
dbReadTable(
conn,
name,
as_of = NULL,
...,
row.names = FALSE,
check.names = TRUE
)
## S4 method for signature 'DoltConnection'
dbListTables(conn, as_of = NULL, ...)
## S4 method for signature 'DoltConnection'
dbListObjects(conn, prefix = NULL, as_of = NULL, ...)
## S4 method for signature 'DoltConnection,character'
dbExistsTable(conn, name, as_of = NULL, ...)
conn |
a dolt connection object, produced by
|
name |
a character string specifying a table name. |
as_of |
A dolt commit hash, branch name, or object coercible to POSIXct |
... |
Unused, needed for compatibility with generic. |
row.names |
Either If A string is equivalent to For backward compatibility, |
check.names |
If |
prefix |
A fully qualified path in the database's namespace, or |
A data.frame in the case of dbReadTable()
; a character vector of
names for dbListTables()
and dbListObjects()
, and a logical result for
dbExistsTable()
.
Querying Historical Data with AS OF Queries on the DoltHub blog, and RMariaDB methods upon which these are built.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.