escapeName function

String escapeName(
  1. String name
)

Escape a table or column name if necessary.

i.e. if it is an identified it will be surrounded by " (double-quote) Only some name belonging to keywords can be escaped

Implementation

String escapeName(String name) {
  if (escapeNames.contains(name.toLowerCase())) {
    return _doEscape(name);
  }
  return name;
}