MCPcopy
hub / github.com/tanelpoder/0xtools / get_current_where_clause

Method get_current_where_clause

xtop/core/navigation.py:457–461  ·  view source on GitHub ↗

Get current WHERE clause for SQL

(self)

Source from the content-addressed store, hash-verified

455 return " AND ".join(filter_parts) if filter_parts else "No filters applied"
456
457 def get_current_where_clause(self) -> str:
458 """Get current WHERE clause for SQL"""
459 if self.current_frame:
460 return self.current_frame.to_where_clause()
461 return "1=1"
462
463 def get_current_group_cols(self) -> List[str]:
464 """Get current grouping columns"""

Calls 1

to_where_clauseMethod · 0.80