columnsFromMap<K, V> static method

String columnsFromMap<K, V>({
  1. required Map<K, V> items,
  2. dynamic quoteChar,
  3. String dataBaseProvider = "",
})

Returns a comma-separated string of wrapped column names from the given map.

The quoteChar parameter specifies the quote character to use for wrapping column names. The dataBaseProvider parameter is used to determine the appropriate quote character if quoteChar is not provided.

Implementation

static String columnsFromMap<K, V>({required Map<K, V> items, dynamic quoteChar, String dataBaseProvider = ""}) =>
    columnsFromList(items: items.keys.map((x) => "$x").toList(), quoteChar: quoteChar, dataBaseProvider: dataBaseProvider);