MCPcopy
hub / github.com/dbcli/pgcli / has_change_path_cmd

Function has_change_path_cmd

pgcli/main.py:1770–1773  ·  view source on GitHub ↗

Determines if the search_path should be refreshed by checking if the sql has 'set search_path'.

(sql)

Source from the content-addressed store, hash-verified

1768
1769
1770def has_change_path_cmd(sql):
1771 """Determines if the search_path should be refreshed by checking if the
1772 sql has 'set search_path'."""
1773 return "set search_path" in sql.lower()
1774
1775
1776def is_mutating(status):

Callers 1

_evaluate_commandMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected