Add test and changelog entry for join fix

This commit is contained in:
Simon Binder 2023-08-23 14:49:30 +02:00
parent b5a564f055
commit d06b0b0a77
2 changed files with 9 additions and 0 deletions

View File

@ -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.

View File

@ -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));
});