innerJoinQuery<O extends DbModel> method

Future innerJoinQuery<O extends DbModel>(
  1. List<QueryPart> queries(
    1. T a,
    2. O? b
    ),
  2. ConditionQuery joinCondition(
    1. T a,
    2. O? b
    ),
  3. DbTableProvider<O> otherJoinProvider,
  4. ConditionQuery where(
    1. T e
    ),
  5. int offset,
  6. int limit,
  7. List<FieldWithValue> groupBy(
    1. T e
    ),
  8. List<FieldOrder> orderBy(
    1. T e
    ),
)

Apply inner join.

Implementation

Future innerJoinQuery<O extends DbModel>(
    List<QueryPart> Function(T a, O? b) queries,
    ConditionQuery Function(T a, O? b) joinCondition,
    DbTableProvider<O> otherJoinProvider,
    ConditionQuery Function(T e) where,
    int offset,
    int limit,
    List<FieldWithValue> Function(T e) groupBy,
    List<FieldOrder> Function(T e) orderBy) async {
  return _queryJoin(
      queries: queries,
      joinCondition: joinCondition,
      joinType: 'INNER',
      otherJoinTable: otherJoinProvider,
      where: where,
      offset: offset,
      limit: limit,
      groupBy: groupBy,
      orderBy: orderBy);
}