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

Method project

xtop/core/query_builder.py:479–482  ·  view source on GitHub ↗
(source: str, alias: str, column: str, output_alias: str, join_available: bool)

Source from the content-addressed store, hash-verified

477 )
478
479 def project(source: str, alias: str, column: str, output_alias: str, join_available: bool) -> str:
480 if not join_available:
481 return f"NULL AS {output_alias}"
482 return self._column_expr(source, alias, column, output_alias)
483
484 # Add columns from joined sources (use NULL fallbacks when missing)
485 if 'syscend' in required_sources:

Callers

nothing calls this directly

Calls 1

_column_exprMethod · 0.95

Tested by

no test coverage detected