MCPcopy Index your code
hub / github.com/sqlmapproject/sqlmap / escaper

Method escaper

plugins/dbms/postgresql/syntax.py:22–23  ·  view source on GitHub ↗
(value)

Source from the content-addressed store, hash-verified

20 """
21
22 def escaper(value):
23 return "(%s)" % "||".join("CHR(%d)" % _ for _ in getOrds(value)) # Postgres CHR() function already accepts Unicode code point of character(s)
24
25 return Syntax._escape(expression, quote, escaper)

Callers

nothing calls this directly

Calls 1

getOrdsFunction · 0.90

Tested by

no test coverage detected