Learn R Programming

BatchJobs (version 1.9)

batchQuery: Manually query the BatchJobs database

Description

Manually query the BatchJobs database

Usage

batchQuery(reg, query, flags = "ro")

Arguments

reg

[Registry] Registry.

query

[character(1)] SQL query to send to the database.

flags

[character(1)] One of “ro”, “rw” or “rwc” which is translated to SQLITE_RO, SQLITE_RW or SQLITE_RWC, respectively. See SQLITE_RO for more info.

Value

[data.frame] Result of the query.

Examples

Run this code
# NOT RUN {
reg = makeRegistry("test", file.dir = tempfile())
batchMap(reg, identity, i = 1:10)
batchQuery(reg, "SELECT * FROM test_job_status")
# }

Run the code above in your browser using DataLab