Closed yb66 closed 3 years ago
The shard does not interpret the SQL statement. It's directly passed to libsqlite.
Are you sure there is no issue with the existing data in your db? It would be great if you can share code and schema that reproduce the issue.
@bcardiff I'll try and extract something to look at today. If I find I've made some mistake I'll close this and disappear, sheepishly, into the night 😬
It was indeed a problem with the code 😬 , not the library. I'm sorry for the wasted time, thanks for taking the time with this.
Regards, iain
Hi,
This is the error being returned:
That's run using the
DB::QueryMethods#exec
method.If I plug in the values into that statement and run it using the sqlite client (v3.36.0) it works fine. The syntax is from this Sqlite doc.
If there's any more info you need from me, just ask. I'll use one of the older workarounds I've found until (if) this is fixed, so no pressure (but it would be nice if it's looked at 😄 )
Edit: forgive me, I forgot the library info
Regards, iain