Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/django/django
/ quote_lexeme
Function
quote_lexeme
django/contrib/postgres/search.py:25–26 ·
view source on GitHub ↗
(value)
Source
from the content-addressed store, hash-verified
23
return
bytes(obj,
"utf-8"
)
24
25
def
quote_lexeme(value):
26
return
UTF8Dumper(str).quote(psql_escape(value)).decode()
27
28
else
:
29
from
psycopg2.extensions
import
adapt
Callers
2
test_quote_lexeme
Method · 0.90
as_sql
Method · 0.85
Calls
4
UTF8Dumper
Class · 0.85
psql_escape
Function · 0.85
decode
Method · 0.45
getquoted
Method · 0.45
Tested by
1
test_quote_lexeme
Method · 0.72