InsertBLOB: InsertBLOB

Description Usage Arguments Value See Also Examples

View source: R/Insert.R

Description

Convenience function to write any kind of object into a SQLite table.

Usage

1
InsertBLOB(name, data, db, table = "storage")

Arguments

name

chr name of BLOB

data

any object that is to be stored as BLOB

db

chr full file name with path of database

table

chr table name ("storage")

Value

TRUE if successful

See Also

Other SQLite handler functions: Insert, Intersect, SelectBLOB, Select, UpdateBLOB, Update

Examples

1
2
3
4
5
db <- "db/test.db"
Create_testDB(db)
x <- list(a = 1:5, b = list(c = c("a", "b")))
InsertBLOB("test2", x, db)
SelectBLOB("test2", db)

mRcSchwering/abacus documentation built on May 21, 2019, 9:18 a.m.