powered by
Manually query the BatchJobs database
batchQuery(reg, query, flags = "ro")
[Registry] Registry.
Registry
[character(1)] SQL query to send to the database.
character(1)
[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.
SQLITE_RO
SQLITE_RW
SQLITE_RWC
[data.frame] Result of the query.
data.frame
# 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