Simon Binder
Simon Binder
Had to revert your merge, it was causing CI failures. https://github.com/simolus3/drift/actions/runs/12856287744/job/35842802925. Weirdly enough I don't get those locally. Could you re-open the PR again? I'll have to find some time...
Given that most Linux distros seem to set it to 250k, that's a reasonable number to commit to. But it's also a lot of work to change these options (we...
I've "improved" this in 5767b8c68ca471186e36eec55402c740ec84fb6d to add the relevant type arguments so that this is no longer a dynamic invocation. That makes this runtime error a compile-time error - still...
You can use the [`onUpdate` and `onDelete`](https://pub.dev/documentation/drift/latest/drift/BuildColumn/references.html) parameters on `references`: ```dart IntColumn get anotherTable => integer().references(AnotherTable, #id, onUpdate: KeyAction.cascade)(); ``` Also, the best way to ask these questions is to...
For custom queries with joins built at runtime, drift uses `QueryRow` and `TypedResult`, neither of which currently implement `==` or `hashCode` (so the generation option applies to compiled queries only)...
A PR to change this behavior would be welcome, but this is not a priority for me. `generateInsertable` is meant for the case where you need some customization for a...
No, this one is unrelated to the manager API. The issue is that we can generate a method that goes from the custom row class to a companion. That doesn't...
This is an interesting idea, it also points towards some of the things mentioned in https://github.com/simolus3/drift/discussions/3477. In the current prototype, tables are entirely independent from the actual database connection already....
I think adding a `getFieldValue` on the column might not be too helpful because the column would then have to know how to destructure the class. I think we could...
Sorry, `D` is called `Row` in my pending work for drift 3. So yes, the idea is that the row classes would be destructed to extract column values there.