tests/testthat/test_360_stmt_update.R

testthat::context("Statement Update class")

testthat::test_that("We can generate a simple UPDATE statement", {
  x <- StmtUpdate$new(tabl="books")
  testthat::expect_equal(x$toString(), "UPDATE books")
})

Try the sqlq package in your browser

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

sqlq documentation built on Sept. 16, 2025, 9:10 a.m.