Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/dbcli/pgcli
/ escape
Function
escape
tests/metadata.py:15–18 ·
view source on GitHub ↗
(name)
Source
from the content-addressed store, hash-verified
13
14
15
def
escape(name):
16
if
not name.islower() or name in (
"select"
,
"localtimestamp"
):
17
return
'"'
+ name +
'"'
18
return
name
19
20
21
def
completion(display_meta, text, pos=0):
Callers
6
columns
Method · 0.85
datatypes
Method · 0.85
tables
Method · 0.85
views
Method · 0.85
functions
Method · 0.85
schemas
Method · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected