(self, where)
| 1151 | copy_stmt, None, None, records, intro_ps._state, timeout) |
| 1152 | |
| 1153 | def _format_copy_where(self, where): |
| 1154 | if where and not self._server_caps.sql_copy_from_where: |
| 1155 | raise exceptions.UnsupportedServerFeatureError( |
| 1156 | 'the `where` parameter requires PostgreSQL 12 or later') |
| 1157 | |
| 1158 | if where: |
| 1159 | where_clause = 'WHERE ' + where |
| 1160 | else: |
| 1161 | where_clause = '' |
| 1162 | |
| 1163 | return where_clause |
| 1164 | |
| 1165 | def _format_copy_opts(self, *, format=None, oids=None, freeze=None, |
| 1166 | delimiter=None, null=None, header=None, quote=None, |
no outgoing calls
no test coverage detected