operator + method

Express operator +(
  1. Object other
)

Implementation

Express operator +(Object other) {
  switch (other) {
    case String s:
      return Express("$sql $s");
    case Express ex:
      return Express("$sql ${ex.sql}", args: args + other.args);
  }
  errorSQL("Operator '+' only support Express OR String");
}