MCPcopy
hub / github.com/sqlalchemy/sqlalchemy / process

Method process

lib/sqlalchemy/dialects/mssql/base.py:1368–1374  ·  view source on GitHub ↗
(value)

Source from the content-addressed store, hash-verified

1366class _UnicodeLiteral:
1367 def literal_processor(self, dialect):
1368 def process(value):
1369 value = value.replace("'", "''")
1370
1371 if dialect.identifier_preparer._double_percents:
1372 value = value.replace("%", "%%")
1373
1374 return "N'%s'" % value
1375
1376 return process
1377

Callers

nothing calls this directly

Calls 1

replaceMethod · 0.45

Tested by

no test coverage detected