mirror of https://github.com/AMT-Cheif/drift.git
Fix copied comments :)
This commit is contained in:
parent
cc3cfea5fa
commit
add33e339c
|
@ -543,14 +543,13 @@ class NestedResultQuery extends NestedResult {
|
|||
}
|
||||
}
|
||||
|
||||
// Every query should be unique.
|
||||
// Because it is currently not possible to reuse result classes from queries
|
||||
// that use nested queries, every instance should be different. Therefore
|
||||
// the object hashCode and equality operator is just fine.
|
||||
|
||||
/// [hashCode] that matches [isCompatibleTo] instead of `==`.
|
||||
@override
|
||||
int get compatibilityHashCode => hashCode;
|
||||
|
||||
/// Checks whether this is compatible to the [other] nested result, which is
|
||||
/// the case iff they have the same and read from the same table.
|
||||
@override
|
||||
bool isCompatibleTo(NestedResult other) => this == other;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue