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 think the fix here would be to make this code deal with cases where pk is already set to a value and, possibly, error when it isn't and its type is not an integer.
Looks like the problem is SQLite-specific. Its dialect-supports-returning? is #f and its (dialect-last-id-query dialect) is always going to return the automatically-created rowid column regardless of what the primary key column is.
If I try to make a schema with a non-integer primary key, I get an error:
results in this error (on the
insert-one!
call):The text was updated successfully, but these errors were encountered: