Dart API join with NNBD #1076
-
Hello @simolus3 ! leftOuterJoin(
myTable,
myTable.nonNullCol.equalsExp(otherTable.nonNullCol) &
myTable.otherNonNullCol.equals(0),
useColumns: false,
), The migration tool recommended to cast the input Expression for the join function as |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
I think I just missed that case in This is fixed on leftOuterJoin(
myTable,
(myTable.nonNullCol.equalsExp(otherTable.nonNullCol) &
myTable.otherNonNullCol.equals(0)).dartCast(),
useColumns: false,
), |
Beta Was this translation helpful? Give feedback.
-
@simolus3 I am having some problems with NNBD on the Does this work as a temporary solution? This is not giving me any compile errors but I still did not test it. |
Beta Was this translation helpful? Give feedback.
I think I just missed that case in
leftOuterJoin
andinnerJoin
- anExpression<bool?>
is the right type for now.This is fixed on
develop
, you can use this as a workaround until then: