Man pages for dittodb
A Test Environment for Database Requests

capture_requestsCapture and record database transactions and save them as...
check_db_pathCheck for dittodb environment path
check_for_pkgCheck if a package is installed
clean_statementClean a statement string
db_path_sanitizeSwitch illegal characters for legal ones
dittodb_debug_levelGet the dittodb debug level and evaluate if it is above a...
dot-dittodb_envan environment for dittodb storing state
driver-specifc-mock-connectionsDriver-specific mock classes
expect_sqlDetect if a specific SQL statement is sent
get_dbnameGet the 'dbname' from a connection call
get_redactorGet the current redactor
get_typeGet the type of an SQL statement
hashMake a (short) hash from a string
hash_db_objectExtract a hash from a (result) object
make_pathmake a mock path
mockdbRun DBI queries against a mocked database
mock-db-methodsMethods for interacting with DB mocks instead of an actual...
mockPathsSet an alternate directory for mock API fixtures
nycflights13_create_sqlCreate a standardised database for testing
nycflights13_create_sqliteCreate an in-memory SQLite database for testing
nycflights_sqliteAn SQLite connection to a subset of nycflights13
redact_columnsRedact columns from a dataframe with the default redactors
sanitize_table_idSanitize Table id
serialize_bit64Make a data.frame with pre-serialized integer64 columns
set_dittodb_debug_levelSet 'dittodb"s debug level
use_dittodbUse 'dittodb' in your tests
with_mock_pathRun the DBI queries in an alternate mock directory
dittodb documentation built on June 22, 2024, 6:52 p.m.