mirror of https://github.com/AMT-Cheif/drift.git
Add test and changelog entry for join fix
This commit is contained in:
parent
b5a564f055
commit
d06b0b0a77
|
@ -1,3 +1,8 @@
|
|||
## 2.11.1
|
||||
|
||||
- Allow using `.read()` for a column added to a join from the table, fixing a
|
||||
regression in drift 2.11.0.
|
||||
|
||||
## 2.11.0
|
||||
|
||||
- Add support for subqueries in the Dart query builder.
|
||||
|
|
|
@ -97,6 +97,10 @@ void main() {
|
|||
),
|
||||
);
|
||||
|
||||
// Also make sure we can read individual columns
|
||||
expect(row.read(todos.id), 5);
|
||||
expect(row.read(categories.description), 'description');
|
||||
|
||||
verify(executor.runSelect(argThat(contains('DISTINCT')), any));
|
||||
});
|
||||
|
||||
|
|
Loading…
Reference in New Issue