rws_connect {readwritesqlite} | R Documentation |
Opens SQLite Database Connection
Description
Opens a SQLiteConnection to a SQLite database with foreign key constraints enabled.
Usage
rws_connect(dbname = ":memory:", exists = NA)
Arguments
dbname |
The path to the database file. SQLite keeps each database instance in one single file. The name of the database is the file name, thus database names should be legal file names in the running platform. There are two exceptions:
|
exists |
A flag specifying whether the table(s) must already exist. |
Value
A SQLiteConnection to a SQLite database with foreign key constraints enabled.
See Also
Examples
conn <- rws_connect()
print(conn)
rws_disconnect(conn)
[Package readwritesqlite version 0.2.0 Index]