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

Method is_insert

mssqlcli/packages/sqlcompletion.py:97–98  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

95 if parsed and parsed.token_prev(len(parsed.tokens))[1] else ''
96
97 def is_insert(self):
98 return self.parsed.token_first().value.lower() == 'insert'
99
100 def get_tables(self, scope='full'):
101 """ Gets the tables available in the statement.

Callers 1

get_tablesMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected