R: A Test Environment for Database Requests

# A Test Environment for Database Requests

## Documentation for package ‘dittodb’ version 0.1.11

- DESCRIPTION file
- User guides, package vignettes and other documentation
- Package NEWS
- Package README

## Help Pages

capture_db_requests | Capture and record database transactions and save them as mocks
capture_requests | Capture and record database transactions and save them as mocks
dbBegin-method | Methods for interacting with DB mocks instead of an actual database
dbClearResult-method | Methods for interacting with DB mocks instead of an actual database
dbColumnInfo-method | Methods for interacting with DB mocks instead of an actual database
dbCommit-method | Methods for interacting with DB mocks instead of an actual database
dbDisconnect-method | Methods for interacting with DB mocks instead of an actual database
dbExistsTable-method | Methods for interacting with DB mocks instead of an actual database
dbFetch-method | Methods for interacting with DB mocks instead of an actual database
dbGetInfo-method | Methods for interacting with DB mocks instead of an actual database
dbGetQuery-method | Methods for interacting with DB mocks instead of an actual database
dbGetRowsAffected-method | Methods for interacting with DB mocks instead of an actual database
dbHasCompleted-method | Methods for interacting with DB mocks instead of an actual database
DBIMockConnection-class | Methods for interacting with DB mocks instead of an actual database
DBIMockResult-class | Methods for interacting with DB mocks instead of an actual database
dbListFields-method | Methods for interacting with DB mocks instead of an actual database
dbListTables-method | Methods for interacting with DB mocks instead of an actual database
dbMockConnect | Methods for interacting with DB mocks instead of an actual database
dbQuoteIdentifier-method | Methods for interacting with DB mocks instead of an actual database
dbQuoteString-method | Methods for interacting with DB mocks instead of an actual database
dbRemoveTable-method | Methods for interacting with DB mocks instead of an actual database
dbRollback-method | Methods for interacting with DB mocks instead of an actual database
dbSendQuery-method | Methods for interacting with DB mocks instead of an actual database
dbSendStatement-method | Methods for interacting with DB mocks instead of an actual database
dbWriteTable-method | Methods for interacting with DB mocks instead of an actual database
expect_sql | Detect if a specific SQL statement is sent
fetch-method | Methods for interacting with DB mocks instead of an actual database
mock-db-methods | Methods for interacting with DB mocks instead of an actual database
mockdb | Run DBI queries against a mocked database
nycflights13_create_sql | Create a standardised database for testing
nycflights13_create_sqlite | Create an in-memory SQLite database for testing
nycflights_sqlite | An SQLite connection to a subset of nycflights13
redact_columns | Redact columns from a dataframe with the default redactors
set_dittodb_debug_level | Set 'dittodb"s debug level
start_db_capturing | Capture and record database transactions and save them as mocks
start_mock_db | Run DBI queries against a mocked database
stop_db_capturing | Capture and record database transactions and save them as mocks
stop_mock_db | Run DBI queries against a mocked database
use_dittodb | Use 'dittodb' in your tests
with_mock_db | Run DBI queries against a mocked database
with_mock_path | Run the DBI queries in an alternate mock directory