defaultOperatorFormatter function

String defaultOperatorFormatter(
  1. ClauseOperator op
)

The default formatter for a ClauseOperator.

Implementation

String defaultOperatorFormatter(ClauseOperator op) => switch (op) {
      ClauseOperator.equals => '=',
      ClauseOperator.notEquals => '!=',
      ClauseOperator.greaterThan => '>',
      ClauseOperator.greaterThanEqualTo => '>=',
      ClauseOperator.lessThan => '<',
      ClauseOperator.lessThanEqualTo => '<=',
      ClauseOperator.like => ' LIKE ',
    };