R/show_query.R

Defines functions show_query.tbl_validation

Documented in show_query.tbl_validation

#' Show generated sql code
#' 
#' Shows the generated sql code for the validation of the tbl.
#' @param x [tbl_validation()] object, result of a [confront.tbl_sql()].
#' @param ... passed through.
#' @return Same result as [dplyr::show_query], i.e. the SQL text of the query.
#' @importFrom dplyr show_query
#' @export
show_query.tbl_validation <- function(x, ...){
  dplyr::show_query(x$query, ...)
}

#'@importFrom dplyr show_query
#'@export
dplyr::show_query

Try the validatedb package in your browser

Any scripts or data that you put into this service are public.

validatedb documentation built on Oct. 6, 2021, 5:17 p.m.