mirror of https://github.com/AMT-Cheif/drift.git
Stop generating unecessary null check
This commit is contained in:
parent
6b396fa067
commit
ea1c635da8
|
@ -670,10 +670,6 @@ class _ExpandedVariableWriter {
|
|||
buffer
|
||||
.write('${_converter(element.typeConverter!)}.toSql($dartExpr)');
|
||||
}
|
||||
|
||||
if (!element.nullable) {
|
||||
buffer.write('!');
|
||||
}
|
||||
} else if (capture != null) {
|
||||
buffer.write('row.read(${asDartLiteral(capture.helperColumn)})');
|
||||
} else {
|
||||
|
|
Loading…
Reference in New Issue