MCPcopy Index your code
hub / github.com/dataease/SQLBot / getFieldsByDs

Function getFieldsByDs

backend/apps/datasource/crud/datasource.py:163–165  ·  view source on GitHub ↗
(session: SessionDep, ds: CoreDatasource, table_name: str)

Source from the content-addressed store, hash-verified

161
162
163def getFieldsByDs(session: SessionDep, ds: CoreDatasource, table_name: str):
164 fields = get_fields(ds, table_name)
165 return fields
166
167
168def execSql(session: SessionDep, id: int, sql: str):

Callers 2

sync_single_fieldsFunction · 0.85
sync_tableFunction · 0.85

Calls 1

get_fieldsFunction · 0.90

Tested by

no test coverage detected