Defines functions dbBind_MariaDBResult

Documented in dbBind_MariaDBResult

#' @name query
#' @usage NULL
dbBind_MariaDBResult <- function(res, params, ...) {
  if (!is.null(names(params))) {
    stopc("Cannot use named parameters for anonymous placeholders")

  params <- sql_data(as.list(params), res@conn, warn = TRUE)

  result_bind(res@ptr, params)

#' @rdname query
#' @export
setMethod("dbBind", "MariaDBResult", dbBind_MariaDBResult)

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.