Open
Description
When executing example code below
using SQLite
using TypedTables
db=SQLite.DB("test.db")
SQLite.execute(db,"""
CREATE TABLE IF NOT EXISTS test_table (
id INTEGER PRIMARY KEY,
number INTEGER
)
""")
table_to_insert=Table(id=[1,2,3], number=[6,2,8])
try
SQLite.transaction(db)
SQLite.load!(table_to_insert, db, "test_table")
SQLite.commit(db)
catch e
SQLite.rollback(db)
throw(e)
end
It on SQLite.load! throws ERROR: SQLiteException("Safety level may not be changed inside a transaction")
Metadata
Metadata
Assignees
Labels
No labels