expect_sql_equals: Expect that a certain SQL statement will evaluate to a...

Description Usage Arguments Examples

View source: R/expect.R

Description

Expect that a certain SQL statement will evaluate to a result.

Usage

1
expect_sql_equals(statement, expected)

Arguments

statement

character. The SQL statement to run.

expected

ANY. The expected result.

Examples

1
## Not run: expect_sql_is("SELECT id FROM flights LIMIT 1", 1)

avantcredit/dbtest documentation built on June 24, 2018, 9:30 p.m.