MCPcopy Create free account
hub / github.com/dbcli/mycli / get_last_query

Method get_last_query

mycli/client_query.py:120–122  ·  view source on GitHub ↗

Get the last query executed or None.

(self)

Source from the content-addressed store, hash-verified

118 self.checkpoint.flush()
119
120 def get_last_query(self) -> str | None:
121 """Get the last query executed or None."""
122 return self.query_history[-1][0] if self.query_history else None

Callers 2

handle_clip_commandFunction · 0.45
handle_editor_commandFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected