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

Function tableExistsQuery

packages/node-core/src/db/sync-helper.ts:759–761  ·  view source on GitHub ↗
(schema: string)

Source from the content-addressed store, hash-verified

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}'`;
761};

Callers 3

setMultiChainProjectMethod · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected