Defines functions dbQuoteLiteral_MariaDBConnection

Documented in dbQuoteLiteral_MariaDBConnection

#' @rdname mariadb-quoting
#' @usage NULL
dbQuoteLiteral_MariaDBConnection <- function(conn, x, ...) {
  # Switchpatching to avoid ambiguous S4 dispatch, so that our method
  # is used only if no alternatives are available.

  if (inherits(x, "difftime")) return(cast_difftime(callNextMethod()))


#' @rdname mariadb-quoting
#' @export
setMethod("dbQuoteLiteral", signature("MariaDBConnection"), dbQuoteLiteral_MariaDBConnection)

Try the RMariaDB package in your browser

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

RMariaDB documentation built on June 19, 2022, 9:05 a.m.