MCPcopy Create free account
hub / github.com/dbcli/mssql-cli / quit_command

Method quit_command

mssqlcli/mssql_cli.py:747–751  ·  view source on GitHub ↗
(sql)

Source from the content-addressed store, hash-verified

745
746 @staticmethod
747 def quit_command(sql):
748 return (sql.strip().lower() == 'exit' or
749 sql.strip().lower() == 'quit' or
750 sql.strip() == r'\q' or
751 sql.strip() == ':q')
752
753 @staticmethod
754 def format_output(title, cur, headers, status, settings):

Callers 1

runMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected