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

Function tsVectorIndexName

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

Source from the content-addressed store, hash-verified

732 commentColumnQuery(schema, table, TS_VECTOR_COL, '@omit all');
733
734const tsVectorIndexName = (schema: string, table: string) => hashName(schema, 'fulltext_idx', table);
735export const dropTsVectorIndexQuery = (schema: string, table: string): string =>
736 dropIndexQuery(schema, tsVectorIndexName(schema, table));
737

Callers 2

dropTsVectorIndexQueryFunction · 0.85
createTsVectorIndexQueryFunction · 0.85

Calls 1

hashNameFunction · 0.90

Tested by

no test coverage detected