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

Function searchFunctionName

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

Source from the content-addressed store, hash-verified

739 createIndexQuery({using: 'gist', fields: [TS_VECTOR_COL], name: tsVectorIndexName(schema, table)}, table, schema);
740
741const searchFunctionName = (schema: string, table: string): string => hashName(schema, 'search', table);
742export const dropSearchFunctionQuery = (schema: string, table: string): string =>
743 dropFunction(schema, searchFunctionName(schema, table));
744export const createSearchFunctionQuery = (schema: string, table: string): string => {

Callers 3

dropSearchFunctionQueryFunction · 0.85

Calls 1

hashNameFunction · 0.90

Tested by

no test coverage detected