Comments (4)
Thanks for the report! Yeah, this looks like a bug and we should make subquery expressions nullable.
from drift.
This will (well, should) be fixed in the next release. If you give me the definition of entry_rows
I can check that it works with your query, it might be something else when the type inference has to jump through many steps (like here with the CTEs).
from drift.
Great ๐๐ผ
class EntryRows {
TextColumn get taskId => text()();
TextColumn get date => text()();
IntColumn get amount => integer()();
BoolColumn get skip => boolean()();
}
Let me know if you need anything else
from drift.
Well the table is missing an extends Table
and a deleted
column referenced in the query, but I can confirm that the fields are nullable as they should be with that fix.
from drift.
Related Issues (20)
- Can't see the full table HOT 5
- Replace the nested `SingleChildScrollView`s in the devtools extension with `TwoDimensionalScrollView`
- SqliteException (SqliteException(1): while preparing statement, no such table: word, SQL logic error (code 1) Causing statement: SELECT * FROM "word";) HOT 4
- DriftIsolate.connect waits forever occasionally HOT 3
- [drift_flutter] driftDatabase more options HOT 2
- Setup page "Manual database setup" toggle closes when trying to copy the code
- DevTools extension replace dependency from `db_viewer` to `drift_db_viewer` HOT 2
- Error: The argument type 'String?' can't be assigned to the parameter type 'String' HOT 6
- Migrate Android app plugin loader - examples HOT 4
- Illegal cast in web wasm HOT 1
- Improve remote protocol serialization on the web
- Insert Silently HOT 4
- `schema export --dialect postgres` produces invalid SQL for DateTimeColumn and BoolColumn when defaults are specified HOT 2
- Add documentation for the Drift DevTools Extension HOT 1
- Add new option to the DevTools extension to run build_runner HOT 1
- Documentation dark mode HOT 2
- Web WASM: "RuntimeError: illegal cast at InsertStatement.insert HOT 3
- Why withDefault is no effect๏ผis this a bug๏ผ HOT 3
- Could not build Objective-C module 'SQLite3' HOT 2
- `distinct()` with `omit` parameter. 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.