database-class: An S4 class to wrap a SQLite database connection

database-classR Documentation

An S4 class to wrap a SQLite database connection

Description

An S4 class to wrap a SQLite database connection

Details

If the database file exists it is opened; otherwise, a new database file is created. An exception is when the database file is either ":memory:" or "". In the former case, a new database is created in computer memory; in the latter, a new database is created in a system specific temporary folder.

Slots

name

The name of the database file.

file

The absolute file path of the database file.

registered

A function to test if the connection is registered.

handle

An external pointer to the sqlite3 database connection.


blueraleigh/db documentation built on Feb. 25, 2024, 9:13 a.m.