Extract data from a database

orderly_db_query(query, database = NULL, instance = NULL, name = NULL)

Arguments

query

Query to evaluate

database

The name of the database. This can be omitted (or NULL) where you only have a single database, but must be specified if you have more than one database configured.

instance

The instance of the database (within a given database). This can be omitted (or NULL) where you have not used instances or where you have only one configured.

name

An optional name that you can use to look up this query in your metadata.

Value

The extracted data