Skip to content

Commit a6122c4

Browse files
committed
Add \nq to named query command autocomplete
1 parent 81d16c9 commit a6122c4

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

pgcli/packages/sqlcompletion.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -270,7 +270,7 @@ def suggest_special(text):
270270
return (Schema(), Function(schema=None, usage="special"))
271271
return (Schema(), rel_type(schema=None))
272272

273-
if cmd in ["\\n", "\\ns", "\\nd"]:
273+
if cmd in ["\\n", "\\ns", "\\nd", "\\nq"]:
274274
return (NamedQuery(),)
275275

276276
return (Keyword(), Special())

0 commit comments

Comments
 (0)