MCPcopy
hub / github.com/StructuredLabs/preswald / query

Method query

preswald/engine/managers/data.py:129–131  ·  view source on GitHub ↗
(self, sql: str)

Source from the content-addressed store, hash-verified

127 """)
128
129 def query(self, sql: str) -> pd.DataFrame:
130 sql = sql.replace(self.name, self._table_name)
131 return self._duckdb.execute(sql).df()
132
133 def to_df(self) -> pd.DataFrame:
134 """Get entire CSV as a DataFrame"""

Callers

nothing calls this directly

Calls 1

executeMethod · 0.80

Tested by

no test coverage detected