mq {MonetDB.R}R Documentation

Connect to a database, run a single SELECT query, and disconnect again.

Description

mq(...) provides a short way to connect to a MonetDB database, run a single SELECT query, and disconnect again.

Usage

mq(dbname, query, ...) 

Arguments

dbname

Database name

query

SQL SELECT query to run

...

Other options for dbConnect

Value

Returns a data frame that contains the result of the passed query or an error if something went wrong.

See Also

dbConnect mc

Examples

## Not run: 
  mq("demo","SELECT 1")

## End(Not run)

[Package MonetDB.R version 1.0.1 Index]