batchQuery {BatchJobs}R Documentation

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

reg = makeRegistry("test", file.dir = tempfile())
batchMap(reg, identity, i = 1:10)
batchQuery(reg, "SELECT * FROM test_job_status")

[Package BatchJobs version 1.8 Index]