This function create the columns list as a string
(columns, driver, conn)
| 157 | |
| 158 | |
| 159 | def columns_to_string(columns, driver, conn): |
| 160 | """ |
| 161 | This function create the columns list as a string |
| 162 | """ |
| 163 | cols = None |
| 164 | for col in columns: |
| 165 | if cols: |
| 166 | cols += ', ' |
| 167 | else: |
| 168 | cols = '(' |
| 169 | cols += driver.qtIdent(conn, col) |
| 170 | cols += ')' |
| 171 | |
| 172 | return cols |
| 173 | |
| 174 | |
| 175 | def _get_force_quote_column_list(data, driver, conn): |
no test coverage detected