From 1404f3f78f42e7da05a27a76347ed04a7dc50d51 Mon Sep 17 00:00:00 2001 From: hong-revo Date: Wed, 19 Dec 2018 21:21:40 +1100 Subject: [PATCH] document --- NAMESPACE | 2 ++ R/database.R | 2 ++ 2 files changed, 4 insertions(+) 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)