MCPcopy
hub / github.com/sqlalchemy/sqlalchemy / _copy

Method _copy

lib/sqlalchemy/dialects/postgresql/ext.py:310–327  ·  view source on GitHub ↗
(self, target_table=None, **kw)

Source from the content-addressed store, hash-verified

308 ]
309
310 def _copy(self, target_table=None, **kw):
311 elements = [
312 (
313 schema._copy_expression(expr, self.parent, target_table),
314 operator,
315 )
316 for expr, _, operator in self._render_exprs
317 ]
318 c = self.__class__(
319 *elements,
320 name=self.name,
321 deferrable=self.deferrable,
322 initially=self.initially,
323 where=self.where,
324 using=self.using,
325 )
326 c.dispatch._update(self.dispatch)
327 return c
328
329
330def array_agg(*arg, **kw):

Callers 1

Calls 1

_updateMethod · 0.45

Tested by 1