(value)
| 1366 | class _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 |