sql_dbExecute: Wrapper to run dbExecute and clean up connection on error.

View source: R/db.R

sql_dbExecuteR Documentation

Wrapper to run dbExecute and clean up connection on error.

Description

Use for any statement except SELECT, in which case use sql_dbGetQuery.

Usage

sql_dbExecute(db, sql)

Arguments

db

SQLite3 database file path.

sql

SQL statement to run.

Value

Number of rows affected


armbrustlab/popcycle documentation built on April 1, 2024, 2:41 p.m.