From b5af3edf737cc2f8904b46889d698d91d1ae2039 Mon Sep 17 00:00:00 2001 From: westito Date: Sun, 28 Nov 2021 19:29:17 +0100 Subject: [PATCH] Remove unnecessary generics declaration --- drift/lib/src/runtime/query_builder/components/join.dart | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/drift/lib/src/runtime/query_builder/components/join.dart b/drift/lib/src/runtime/query_builder/components/join.dart index 425dddba..9b6405ec 100644 --- a/drift/lib/src/runtime/query_builder/components/join.dart +++ b/drift/lib/src/runtime/query_builder/components/join.dart @@ -78,8 +78,7 @@ class Join extends Component { /// See also: /// - https://drift.simonbinder.eu/docs/advanced-features/joins/#joins /// - http://www.sqlitetutorial.net/sqlite-inner-join/ -Join innerJoin(Table other, Expression on, - {bool? useColumns}) { +Join innerJoin(Table other, Expression on, {bool? useColumns}) { return Join._(_JoinType.inner, other, on, includeInResult: useColumns); } @@ -91,8 +90,7 @@ Join innerJoin(Table other, Expression on, /// See also: /// - https://drift.simonbinder.eu/docs/advanced-features/joins/#joins /// - http://www.sqlitetutorial.net/sqlite-left-join/ -Join leftOuterJoin(Table other, Expression on, - {bool? useColumns}) { +Join leftOuterJoin(Table other, Expression on, {bool? useColumns}) { return Join._(_JoinType.leftOuter, other, on, includeInResult: useColumns); } @@ -104,6 +102,6 @@ Join leftOuterJoin(Table other, Expression on, /// See also: /// - https://drift.simonbinder.eu/docs/advanced-features/joins/#joins /// - http://www.sqlitetutorial.net/sqlite-cross-join/ -Join crossJoin(Table other, {bool? useColumns}) { +Join crossJoin(Table other, {bool? useColumns}) { return Join._(_JoinType.cross, other, null, includeInResult: useColumns); }