| mdb_queries | R Documentation |
mdb-queries is a utility program distributed with MDB Tools.
Without query, it lists the names of all saved queries in the database.
With query, it returns the SQL text of the named query or queries.
mdb_queries(
path,
query = NULL,
list = TRUE,
newline = FALSE,
delimiter = " ",
as_text = FALSE,
as_list = TRUE
)
path |
Path to |
query |
Character vector of query names. When |
list |
Logical; when |
newline |
Logical; when |
delimiter |
Character scalar used to collapse query names when
|
as_text |
Logical; when |
as_list |
Logical; defaults to |
When query is NULL: a character vector of query names (or a
collapsed string when as_text = TRUE). When query is supplied and
as_list = TRUE: a named mdblist of SQL text strings, one per query.
With a single query and as_list = FALSE: a character scalar.
db <- mdbr:::.mdb_example_nwind_path()
if (nzchar(db)) {
mdb_queries(db)
mdb_queries(db, "Orders Qry")
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.