joinOn method

JoinedTable joinOn(
  1. Expression onExp
)

Implementation

JoinedTable joinOn(Expression onExp) {
  if (_type == null || _to == null) {
    throw Exception('Query has no join on it!');
  }

  _on.and(onExp);

  return this;
}