Comments (4)
The documentation page about testing does specify that you need to download the binaries yourself https://drift.simonbinder.eu/docs/testing/ but it also doesn't provide any guidance on a minimum version
from drift.
It's extremely reasonable for Drift to rely on SQLite features from 2019. It'd be good for that to be explicit, though.
At the moment we don't have an official minimal sqlite3 version we support for package:sqlite3
and drift's tooling. I think it would be great to pick a stable minimum version (and run tests against that as well). Since tests are currently running against either a fixed sqlite3 or the one shipping with the GitHub Actions Ubuntu runner, I can't reliably say which sqlite3 version is the lowest we can support.
I completely agree about having a clear error message as well, in this case I simply didn't consider that the database option may not have always been available - another thing that would be caught by tests.
from drift.
It looks like this is probably caused by my having an old version of libsqlite3.so
. The relevant SQLite feature looks to have been introduced in 3.29.0:
https://www.sqlite.org/changes.html#version_3_29_0
which is fairly old, from 2019. My local libsqlite3.so
is a bit older than that, 3.27.2.
It's extremely reasonable for Drift to rely on SQLite features from 2019. It'd be good for that to be explicit, though.
Is there a minimum SQLite version documented somewhere? I'm not immediately finding one. Possibly https://drift.simonbinder.eu/docs/platforms/#desktop is the most relevant spot for that information.
Better yet, it would be great to get a clear error message to that effect, rather than a traceback when a particular operation that Drift tries to do turns out not to be supported.
from drift.
Sounds great — thank you!
from drift.
Related Issues (20)
- Renew DriftDatabase usage example HOT 1
- feat: Declare column on table with `late final`
- Unhandled Exception: Bad state: Tried to send Request ... over isolate channel, but the connection was closed! HOT 3
- DevTools extension not working in 2.19.1 HOT 1
- [Android web] wasm issue HOT 8
- Schema dump fails in flutter with drift_dev 2.19 HOT 2
- Seeing multiple instances of SqliteException(13), SqliteException(14), and SqliteException(5) in the wild HOT 7
- CountAll not available HOT 5
- Columns from queries are suddenly nullable since Drift 2.19 HOT 6
- DB stops HOT 8
- Setup doc contains unexecutable code. HOT 3
- Drift file generating incorrect typings HOT 4
- Refactor `QueryExecutor` to reliably indicate which methods write
- Distribute reads across multiple isolates HOT 1
- Improve performance of `InsertStatement.createContext` in batches HOT 1
- Potential OOM error on both Android & iOS HOT 8
- Why DOES THIS PACKAGE NOT WORK HOT 2
- SQLite - Migrator Bug? Regression from 2.18.0 => 2.19.x when adding nullable columns to table with data HOT 17
- Web WASM: "RuntimeError: illegal cast at DriftCommunication._handleMessage" HOT 7
- Error generate table with name "xxxus" HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from drift.