MCPcopy Create free account
hub / github.com/subquery/subql / commentSearchFunctionQuery

Function commentSearchFunctionQuery

packages/node-core/src/db/sync-helper.ts:756–757  ·  view source on GitHub ↗
(schema: string, table: string)

Source from the content-addressed store, hash-verified

754};
755
756export const commentSearchFunctionQuery = (schema: string, table: string): Query =>
757 commentOnFunction(schema, searchFunctionName(schema, table), `@name search_${table}`);
758
759export const tableExistsQuery = (schema: string): string => {
760 return `SELECT table_name FROM information_schema.tables where table_schema='${schema}'`;

Callers

nothing calls this directly

Calls 2

commentOnFunctionFunction · 0.85
searchFunctionNameFunction · 0.85

Tested by

no test coverage detected