diff --git a/NAMESPACE b/NAMESPACE index 0027c31..f992340 100644 --- a/NAMESPACE +++ b/NAMESPACE @@ -1,5 +1,7 @@ # Generated by roxygen2: do not edit by hand +S3method(ade_database,ade_cluster) +export(ade_database) export(az_data_explorer) export(create_ade_cluster) export(delete_cluster_credentials) diff --git a/R/database.R b/R/database.R index ad0bf05..7fcc8a9 100644 --- a/R/database.R +++ b/R/database.R @@ -1,9 +1,11 @@ +#' @export ade_database <- function(object, ...) { UseMethod("ade_database") } +#' @export ade_database.ade_cluster <- function(object, database, ...) { out <- list(db=database, cluster=object)