sqlIdentifier function

String sqlIdentifier(
  1. String name
)

Escapes and quotes a non-empty String for use as an SQLite identifier.

Implementation

String sqlIdentifier(String name) {
  checkState(name.isNotEmpty);
  return quoteWithDoubleQuotes(name);
}