Added modb_use to R and the c handler + moved the connection referencing to a helpers file
This commit is contained in:
1 parent
cbbda5378f
commit
ca594a2c0b
5 files changed
+83
-36
No files matched your search
@@ -223,4 +223,11 @@ modb_destroy <- function(modb_name, ...) {
|
||||
conn_ref <- modb_conn_ref(args = list(...))
|
||||
res <- .Call(c_modb_destroy, conn_ref, modb_name)
|
||||
return(res)
|
||||
}
|
||||
|
||||
#' @export
|
||||
modb_use <- function(modb_name, override = FALSE, ...) {
|
||||
conn_ref <- modb_conn_ref(args = list(...))
|
||||
res <- .Call(c_modb_use, conn_ref, modb_name, as.logical(override))
|
||||
return(res)
|
||||
}
|
||||
Reference in new issue
Block a user