From a SQL file, query the database and return the results in a tibble.
Usage
collect_query(conn, path)
Arguments
- conn
A database connection.
- path
File path to a SQL file.
Value
A tibble containing the results of the query.
Details
The SQL must not contain any comments and must not end with a semicolon.