nullOnUpdate method

dynamic nullOnUpdate()

Implementation

nullOnUpdate() {
  _query += " ON UPDATE SET NULL ";

  if (_query.contains("DELETE")) {
    query = query.contains(",") ? query.replaceAll(",", "") : query;
    return "$query $_query , ";
  }
  return this;
}