compile method

  1. @override
String compile()
override

Implementation

@override
String compile() {
  var s = _compile();
  if (!_properties.any((p) => p.hasValue)) return s;
  //s ??= '';

  for (var p in _properties) {
    if (p.hasValue) {
      var c = p.compile();

      if (c != null) {
        _hasValue = true;
        //s ??= '';

        if (p.typed is! DateTimeSqlExpressionBuilder) {
          s += '${p.typed!.columnName} ';
        }

        s += c;
      }
    }
  }

  return s;
}