You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm trying to get canned inserts to work. I have an DB with following metadata:
sqlite> .mode line
sqlite> select name, sql from sqlite_master where name like '%search%';
name = search
sql = CREATE TABLE "search" ("id" INTEGER NOT NULL PRIMARY KEY, "name" VARCHAR(255) NOT NULL, "url" VARCHAR(255) NOT NULL)
Hey,
I'm trying to get canned inserts to work. I have an DB with following metadata:
which renders a form as expected, but when I submit the form I get
incomplete input
error.but when submit post the form
I've attached a debugger to see where the error comes from, because
incomplete input
string doesn't appear in datasette codebase.Inside
datasette.database.Database.execute_write_fn
datasette/datasette/database.py
Line 69 in 4fa7cf6
this line raises an exception.
That led me to believe I had something wrong with my SQL. But running the command in
sqlite3
inserts the record just fine.So I'm a bit lost here.
The text was updated successfully, but these errors were encountered: