SQLite 3.38 Released
sqlite.org
sqlite.org
So, once I get my Sqlite provider updated to 3.38, I will have the ablity to highlight the naughty token directly in the user's sql entry box?
This could be revolutionary for our internal admin tool UX. If I can flip everything following the offset to some error style class, the user will be able to instantly zoom to what the database is complaining about. In larger queries, this would be even more valuable as locating an offending magic string can take a lot longer.
What’s the rationale for SQLite not having a date/time data type?
There's a bit more info here: https://www.sqlite.org/datatype3.html
A date/time data type is very practical even if it doesn't cover all use cases which is why almost all relational database engines have one or more. I suggest something that supports ISO 8601 encoded efficiently similar to SQL Server datetimeoffset which requires 10 bytes for maximum precision.
JSON is also very annoying for not having a date/time type as well!
I have built an entire T-SQL layer on top of SQLite and I had to omit DATETIMEOFFSET support entirely. There's no good way to do it with the tools that SQLite provides. Please let me know if I've missed a way; I would like to add this to my extended SQLite language. DATETIMEOFFSET is the gold standard in the SQL Server world and it is a gaping hole in my compatibility layer.
I have also built a virtual table module that links remote SQL Server tables into SQLite. I had to discard the time zone information for DATETIMEOFFSETs in the remote table and show it in SQLite as a UTC time only in string format. This is strictly worse than what we have in SQL Server, and the gap cannot be crossed with clever application-side code.
Love all things you make (fossil, lemon, SQLite).
While you’re here, I can’t state how much I’d love to see SQLite to push more into client server use cases (Eg WAL2, BEGIN CONCURRENT, etc) I get it might be cleaner to spin that off into its own separate offering. But having something like bedrock but officially from you would be fantastic.
SQLite is not truly standards compliant by missing these truly essential column types which make it deeply inconvenient for use in enterprise apps. And also for apps that need pluggable/switchable backend SQL storages.
On Linux you can use "pip install pysqlite3-binary" to get a compiled built version of it.
How would it prevent you from sending queries that include json functions?
I'd love to know more about this one! Examples of queries it can speed up would be fascinating.