isNull method

String isNull(
  1. String val, [
  2. String? alias
])

Implementation

String isNull(String val, [String? alias]) {
  return "ifnull($fieldName,'$val') AS ${(alias ?? fieldName!)}";
}