Show the history of queries that were loaded into a database
dbQueryHistory(con, verbose = FALSE)
A src connection object, as obtained with nodbi::src_mongo() or nodbi::src_sqlite()
If TRUE
, prints additional information
(default FALSE
).
A data frame with columns: query-timestamp, query-register, query-records (note: this is the number of records loaded when last executing ctrLoadQueryIntoDb, not the total record number) and query-term, and with one row for each ctrLoadQueryIntoDb loading trial records in this collection.
# NOT RUN {
# }
# NOT RUN {
db <- nodbi::src_sqlite(
collection = "my_collection"
)
dbQueryHistory(
con = db
)
# }
# NOT RUN {
# }
Run the code above in your browser using DataLab