MCPcopy Create free account
hub / github.com/piccolo-orm/piccolo / get_query_id

Method get_query_id

piccolo/engine/base.py:217–219  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

215 # Logging queries and responses
216
217 def get_query_id(self) -> int:
218 self.query_id += 1
219 return self.query_id
220
221 def print_query(self, query_id: int, query: str):
222 print(colored_string(f"\nQuery {query_id}:"))

Callers 4

run_querystringMethod · 0.80
run_ddlMethod · 0.80
run_querystringMethod · 0.80
run_ddlMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected