MCPcopy
hub / github.com/sqlalchemy/sqlalchemy / _opt_encode

Method _opt_encode

lib/sqlalchemy/dialects/mssql/base.py:1850–1855  ·  view source on GitHub ↗
(self, statement)

Source from the content-addressed store, hash-verified

1848 dialect: MSDialect
1849
1850 def _opt_encode(self, statement):
1851 if self.compiled and self.compiled.schema_translate_map:
1852 rst = self.compiled.preparer._render_schema_translates
1853 statement = rst(statement, self.compiled.schema_translate_map)
1854
1855 return statement
1856
1857 def pre_exec(self):
1858 """Activate IDENTITY_INSERT if needed."""

Callers 3

pre_execMethod · 0.95
post_execMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected