defaultJoinTypeFormatter function

String defaultJoinTypeFormatter(
  1. JoinType type
)

The default formatter for a JoinType.

Implementation

String defaultJoinTypeFormatter(JoinType type) => switch (type) {
      JoinType.inner => 'INNER JOIN',
      JoinType.left => 'LEFT JOIN',
      JoinType.right => 'RIGHT JOIN',
      JoinType.full => 'FULL JOIN',
    };