-
Notifications
You must be signed in to change notification settings - Fork 81
Closed
Description
A consistently reproducible example:
using SQLite, Tables
db = SQLite.DB()
DBInterface.execute(db, "create table tmp ( x TEXT )")
DBInterface.execute(db, "insert into tmp values (?)", (nothing,))
DBInterface.execute(db, "insert into tmp values (?)", (:a,))
DBInterface.execute(db, "select x from tmp") |> rowtable
Last line throws ERROR: TypeError: in typeassert, expected Union{Missing, String}, got a value of type Symbol
. A null value is necessary for this error to appear.
I don't really understand the internal steps SQLite.jl
takes here, but looks like the type detection is somewhat off.
Metadata
Metadata
Assignees
Labels
No labels